Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
Calling files without using a file extension If I call http://www.mysite.com/script it must run script.php johnypalillo msg:663945 12:05 pm on Jul 10, 2003 (gmt 0) I was hosted in a Cobalt server where by default if I call: http://www.mydomain.com/script it loads http://www.mydomain.com/script.php
It was useful because it let my to easily construct a site with search engine friendly url:
was the same as:
Now I have moved my domains to another host provider(because frequent downtime) but that urls don't work and I must rewrite all scripts.
I would like to find a way to configure mi httpd.conf for work in the that way.
johnypalillo msg:663946 9:21 am on Jul 11, 2003 (gmt 0)
This is a selfreplying:
The only thing I needed was to setup Multiviews in my Options in the hhttpd.conf file.
I had a problem because it was working with files with extensions like ".jpg" and ".gif" , but not with ".php". It was because my default conf files for Apache/2.0.40 (Red Hat Linux) was not including an Addtype line for Php, the PHP.conf files was working with a filter.
After this all is running fine for clear URLs without Rewriting rules.