Re: accessing php pages w/o .php extension on unix and windows

From: Date: Wed, 08 May 2002 18:23:51 +0000
Subject: Re: accessing php pages w/o .php extension on unix and windows
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96619@lists.php.net to get a copy of this message
Yes, this is an Apache thing. You will probably find this in the Apache config file... AddType application/x-httpd-php .php .phtml .php3 My guess is the one on your server adds htm and html to the list of file extensions to parse for PHP code. AddType application/x-httpd-php .php .phtml .php3 .htm .html I would assume this to be the same in Windows or Linux, module or CGI. I am not sure about this though as I only use Apache on Linux compiled into the Apache code. John On Wed, 8 May 2002, brett wrote: >- >-For a reason I have yet to find, I can access php files on my linux server >-running apache without adding the extension. On my notebook at home, I have >-apache and php setup, but can not access php files without adding the >-extension. I know this probably has something to do with apache, but have not >-found out how and what makes this happen. Does anyone have any clues for me to >-take a look at to determine why linux allows this and windows does not. >- >-Brett >- >- >-------------------------------------------------- >-This mail sent through IMP: http://horde.org/imp/ >- >--- >-PHP General Mailing List (http://www.php.net/) >-To unsubscribe, visit: http://www.php.net/unsub.php >- ************************************** John Huggins VANet jhuggins@va.net http://www.va.net/ **************************************

« previous php.general (#96619) next »