cancel
Showing results for 
Search instead for 
Did you mean: 

help with cgi paths

xpher
Grafter
Posts: 58
Registered: ‎02-08-2007

help with cgi paths

Hi
I'm trying to install this login system from http://www.phpdeadlock.org/
I have a directory newfront with a subdirectory members
The problem is when I try to install I get error
The directory that you specified in your .htpasswd path does not exist. The full path to the directory you specified is /local/apache/htdocs/newfront/members
I am not specifying /local/apache/htdocs/ I am presuming this is coming from $_SERVER['DOCUMENT_ROOT'] that is within install script.
if I try using /files/home2/myusername/ etc it just appends this to the end of the error.
Any suggestions hints greatly appreciated.
1 REPLY 1
Colin
Community Veteran
Posts: 1,264
Registered: ‎04-04-2007

Re: help with cgi paths

One option is to replace $_SERVER['DOCUMENT_ROOT'] with $_SERVER['C_DOCUMENT_ROOT'] in the script...