Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Php Location

Quote Reply
Php Location
Hmmm hope I'm not being stupid here but page.php gets extracted into the same directory as the cgi files (normally the cgi-bin) ......some servers will only allow .cgi/.pl to be run from in the cgi-bin so this may cause problems (internal server errors). Should there be an extra path option during setup to ask where you want to extract the php files to?

Last edited by:

RedRum: Nov 8, 2001, 3:38 AM
Quote Reply
Re: [RedRum] Php Location In reply to
Moving page.php out of cgi-bin would require a bit of work.
Firstly, you would have to rename all occurances of "$CFG['db_cgi_url'] . 'page.php'" to something else. It might be a better idea to add another entry to the config (as you said), but we wanted to make it so no extra changes to the config would be needed.
Secondly, you would have to change the admin_root_path variable in the page.php to reflect the new path.


Adrian
Quote Reply
Re: [brewt] Php Location In reply to
Do you have any plans to change this or are you saying I need to make the alterations?

This could cause problems for people.
Quote Reply
Re: [RedRum] Php Location In reply to
Probably will be changed. I discuss it with Alex, as it will involve some additions to the installer and the default ConfigData.pm.


Adrian
Quote Reply
Re: [brewt] Php Location In reply to
Ok thanks.