Yeah one of the simple tricks to mask that you use php is to make the extention that the PHP Parser looks for (ie name it page.foo) or whatever and have:
AddType application/x-httpd-php .foo At 07:27 PM 5/28/2002 -0500, Miguel Cruz wrote: >On Tue, 28 May 2002, Luis Miguel N. Tavora wrote: > > As far as I understood it, for a server process the php > > code, the file must have the extension .php > > > > But then, the apache server (for example) requires a file > > index.html to be placed in the directory public_html/ ... > >Wrong on both counts (sorry, but really it's good news for you). > >1) You can have the server send any files you want through the PHP parser. >The easiest thing is to edit the line that looks like this in your >httpd.conf file: > > AddType application/x-httpd-php .php > >Just add extra extensions: > > AddType application/x-httpd-php .php .html > >2) You can have the server use and file(s) you want as the "default" when >a user requests a directory. Find the httpd.conf line that looks like >this: > > DirectoryIndex index.html > >And add as many other file names as you want: > > DirectoryIndex index.html index.php > >So you can solve your problem in either of two ways (actually there are >plenty of others but these are the most straightforward). > >miguel > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php