Web Administration Doesnt Work
PAL-18
Join Date: 2011-12-16 Member: 138166Members
I got my user set up and i added the code to the server.xml file, yet when i start my server i get:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->A valid root directory has not been specified for web administration.<!--QuoteEnd--></div><!--QuoteEEnd-->
The directory does exist and the path contains no spaces.
Here's what the web code i have in server.xml :
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><webadminActive>true</webadminActive>
<webadminDomain>209.44.100.12</webadminDomain>
<webadminPort>80</webadminPort>
<webadminDirectory>"S:\NaturalSelection2\ns2update"</webadminDirectory><!--c2--></div><!--ec2-->
Any idea how to fix this?
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->A valid root directory has not been specified for web administration.<!--QuoteEnd--></div><!--QuoteEEnd-->
The directory does exist and the path contains no spaces.
Here's what the web code i have in server.xml :
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><webadminActive>true</webadminActive>
<webadminDomain>209.44.100.12</webadminDomain>
<webadminPort>80</webadminPort>
<webadminDirectory>"S:\NaturalSelection2\ns2update"</webadminDirectory><!--c2--></div><!--ec2-->
Any idea how to fix this?
Comments
[EDIT]
Looking at the URL I just passed, it does tell you to do those things, but that isn't how my XML looks after being auto-generated using the commandline-options, so have a try using -parameters.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><webadminDirectory>"c:\web_directory"</webadminDirectory><!--c2--></div><!--ec2-->
Quotes and drive letter included. I cant use command line options because im running the NS2update mod and it doesnt accept NS2 command line options.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><webadminDirectory>"S:\NaturalSelection2\ns2update"</webadminDirectory><!--c2--></div><!--ec2-->
with
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><webadminDirectory>ns2update</webadminDirectory><!--c2--></div><!--ec2-->
again assuming the .htpasswd-file sits in the ns2update-directory. You may also want to check if the directory is a complete match in terms of upper\lower-case, just in case NS2 really is that particular about things.
Thanks
P.S. Is GameOvermind still set for a June release?