hi iv got apache 2 installed and running in httd.conf
AccessFileName .htaccess
AllowOverride All
this should mean the .htaccess file is working and it is
the problum im having is with the htaccess file n trying to find the full server path
contents of the .htacces file
AuthUserFile /password/.htpasswd
AuthName EnterPassword
AuthType Basic
require valid-user
iv run this script to find out what my full server path actually is
the script is:
<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
the return from the script is
C:/Program Files/Apache Group/Apache2/htdocs
but if i change my htaccess file to
AuthUserFile C:/Program Files/Apache Group/Apache2/htdocs
AuthName EnterPassword
AuthType Basic
require valid-user
it errors out with a server error 500
so how can i find my servers full path
the server service is runing localy on this computer so i cant just "contact my host" lol as im hosting it.
AccessFileName .htaccess
AllowOverride All
this should mean the .htaccess file is working and it is
the problum im having is with the htaccess file n trying to find the full server path
contents of the .htacces file
AuthUserFile /password/.htpasswd
AuthName EnterPassword
AuthType Basic
require valid-user
iv run this script to find out what my full server path actually is
the script is:
<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
the return from the script is
C:/Program Files/Apache Group/Apache2/htdocs
but if i change my htaccess file to
AuthUserFile C:/Program Files/Apache Group/Apache2/htdocs
AuthName EnterPassword
AuthType Basic
require valid-user
it errors out with a server error 500
so how can i find my servers full path
the server service is runing localy on this computer so i cant just "contact my host" lol as im hosting it.