|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi Everyone,
I have a .html file on my server. It is not index.html. I want to redirect that request to .php. A few tings though: I do not have to change the address bar, I do not want them to see the .php address. I tried the .htaccess approach, but it is not working. Here is my entry: RewriteEngine on RewriteRule page1\.html page1.php [NC,R] I'm running CentOS. Thank you! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
mtek@mtekusa.com wrote:
> Hi Everyone, > > I have a .html file on my server. It is not index.html. I want to > redirect that request to .php. A few tings though: > > I do not have to change the address bar, I do not want them to see > the .php address. > > I tried the .htaccess approach, but it is not working. Here is my > entry: > > RewriteEngine on > RewriteRule page1\.html page1.php [NC,R] > > I'm running CentOS. > > Thank you! > > This isn't a PHP question - it's an apache configuration one. Try alt.apache.configuration. They'll be able to you there. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
|
![]() |
| Outils de la discussion | |
|
|