Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Calling files without using a file extension

If I call http://www.mysite.com/script it must run script.php



12:05 pm on Jul 10, 2003 (gmt 0)

10+ Year Member

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.


9:21 am on Jul 11, 2003 (gmt 0)

10+ Year Member

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.

Good Luck.


Featured Threads

Hot Threads This Week

Hot Threads This Month