Scriptalias Alias clarification
Subhendu Ghosh
sghosh at sghosh.org
Wed Apr 9 00:19:41 CEST 2003
On Tue, 8 Apr 2003, Raj Mudhar wrote:
> hi
>
> In the manual it says the script-Alias line must come before the Alias
> line. Otherwise Apache will parse the lines differently.
>
> Well im confused as the Alias section is before the script alias section
> in my httpd.conf file (rh8).
>
> So what are u asking? swap the two sections around or what?
>
alias /some/dir /nagios
scriptalias /some/other/dir /nagios/cgi-bin
These two must come in opposite sequence because scriptalias is a
specialized alias and you cannot define a sub-branch after the main branch
But you can define the sub-branch and then the main branch (Apache
specific)
Or in ./configure provide paths for html and cgi-bin that don't have a
parent-child relationship - in which case the order doesn't matter.
--
-sg
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list