Re: [PHPLIB] strange URL in links From: Alec Effrat (alec <email protected>)
Date: 11/24/99

Michael,
    You have set up your PHP as a CGI. CGI's are allowed to have additional path info past the cgi to use for other purposes such that you may have a browsing program
for some directory hierarchy:
    http://www.blah.com/cgi-bin/browser.cgi/thedirectory/information/to/browse?query_data=true

    This is normal operation. The more standard practice for PHP is running it as an ISAPI or Apache module so you may not be familiar with seeing it in this fashion.
When running it as an Apache module or ISAPI module the processing of PHP is done internally and there is no need for the CGI to be called.

Alec Effrat
alec <email protected>

    Don't forget about Lynx users when creating sites, please!?!

Michael Wetzer wrote:

> Hi!
>
> Don't know, if I have done an installation-mistake:
>
> phpLib 7.2
> php->c:\php
> pages->c:\htdocs\pages
> PHP Version 3.0.11 (Win32)
> extension_dir = c:\php3
> auto_prepend_file = c:\php\prepend.php3
> include_path = ".;c:\php"
> Apache 1.3.9 (Win32)
> DocumentRoot "C:/htdocs"
> DirectoryIndex index.html index.php3
> ScriptAlias /php3/ "C:/php3/"
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3 .phtml
> AddType application/x-httpd-php3-source .phps
> Action application/x-httpd-php3 "/php3/php.exe"
> Action application/x-httpd-php3-source "/php3/php.exe"
>
> when I access "http://localhost/pages/", then all links on this page (Reload,Load x2, Show, Logout) point to "http://localhost/php3/php.exe/pages/>.php3"!
> Is this "/php3/php.exe/" correct??
>
> and if it is correct, why is this done??
>
> thanks
> Michael
> -
> PHP3 Base Library Mailing List. Send messages to <
phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.