Hi,
My host's settings only allows .php3 to be executed. If its .php, nothing runs.
Is there any command which I can enter into the .htaccess file to allow execution of .php scripts too?
Thanks for your Help
Printable View
Hi,
My host's settings only allows .php3 to be executed. If its .php, nothing runs.
Is there any command which I can enter into the .htaccess file to allow execution of .php scripts too?
Thanks for your Help
Yep place this in your .htaccess:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
AddType application/x-httpd-php3 .php
[/code]
and it should all work, you can use any extension you like - just change the .php to the one you want to use (You can have as many of these lines as you like in your .htaccess file)
------------------
Karl Austin
KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Thanks a Zillion!
Is there any place where I can read up on this htaccess stuff?
thanks
The apache web site http://www.apache.org/httpd.htm in the documentation pages.
------------------
Karl Austin
KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Its Error 404
thanks
[This message has been edited by lynlimz (edited July 31, 2000).]
Sorry it should have been http://www.apache.org/httpd.html , sorry about that.
------------------
Karl Austin
KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Try this; it's highly useful for anyone starting out with .htaccess:
http://www.eboz.com/articles/design/538.shtml
------------------
Chris Bowyer – chris@mycoding.com
MyCoding.com: Visit for Launch Notification!
DomainMailings.com: Who Says All The Good Ones Are Taken?
MovieForums.com: Talk About Your Favorite Flicks!
Yeah sorry about that, I have never had any need to use anything other than the Apache manual for adding stuff to .htaccess, but then again I learn by experimentation and crossed-fingers.
------------------
Karl Austin
KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Thanks TWTCommish and Karl!
BTW...TWTCommish's was more easy to understand..wow
thanks again
Yeah eBoz publishes fairly user-friendly articles...there site in general is worth a look for more related stuff.
Glad I could help.
------------------
Chris Bowyer – chris@mycoding.com
MyCoding.com: Visit for Launch Notification!
DomainMailings.com: Who Says All The Good Ones Are Taken?
MovieForums.com: Talk About Your Favorite Flicks!