Addressed to: Mike Eheler <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Mike Eheler <[EMAIL PROTECTED]> Thu, 03 Jan 2002 16:26:53
-0800
>
> That's the whole point of this thread.. that's what I want to avoid. I
> want to have a URI that is easier to remember, and less ugly, and also
> provides a sense of security (even if it is only a faint sense) through
> obscurity.
The .htaccess/httpd.conf solution is:
<Location /news>
ForceType application/X-httpd-php
</Location>
Now the file news in your DocumentRoot directory will be executed as a
php program, and anything that appears as directory and file names
after it will appear in $PATH_INFO. (I think that's where it appears
anyway. Check phpinfo() to be sure.)
It works very well.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]