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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -