apache - htaccess point to password file with a relative path -
in htaccess file possible use relative paths? i'm looking see if exists way use relative paths not change them on new server
authuserfile {webspaceroot} auth/.password authgroupfile {webspaceroot} auth/.group authname "reserved area" authtype basic
webspaceroot web server root
yes can, but wouldnt recommend it. have relative serverroot defined in apache docs as
the serverroot directive sets directory in server lives. typically contain subdirectories conf/ , logs/. relative paths in other configuration directives (such include or loadmodule, example) taken relative directory.
is there reason require them relative? easier understand if used full path.
Comments
Post a Comment