Well it says right there what is wrong: Invalid command '<C:/sites/intranet/>' Please reread the docs. ----- Original Message ----- From: "jay" <jay@xxxxxxxxxxx> To: <users@xxxxxxxxxxxxxxxx>; "Joshua Slive" <jslive@xxxxxxxxx> Sent: Friday, March 11, 2005 1:53 PM Subject: Re: [users@httpd] Config file > Well, since I have it running on a windows machine it will not allow me to > restart Apache. > Did it look right? > > > C:\>net start "apache" > The Apache service is starting. > The Apache service could not be started. > > The service did not report an error. > > More help is available by typing NET HELPMSG 3534. > > This is what shows up in my event viewer: > he Apache service named Apache.exe reported the following error: > > >>> Invalid command '<C:/sites/intranet/>', perhaps mis-spelled or defined > >>> by a module not included in the server configuration <<< > > before the error.log file could be opened. > > More information may be available in the error.log file. . > > ----- Original Message ----- > From: "Joshua Slive" <jslive@xxxxxxxxx> > To: <users@xxxxxxxxxxxxxxxx> > Sent: Friday, March 11, 2005 10:28 AM > Subject: Re: [users@httpd] Config file > > > > On Fri, 11 Mar 2005 10:35:07 -0800, jay <jay@xxxxxxxxxxx> wrote: > >> I tried this but it did not work. > > > > Never use the phrase "it did not work" on a technical mailing list. > > Describe exactly what happened when you tried it. > > > >> <VirtualHost 192.168.1.24:6699> > >> ServerName 192.168.1.24:6699 > >> DocumentRoot C:/sites/intranet > >> > >> <C:/sites/intranet/> > >> Order Deny,Allow > >> Deny from all > >> Allow from 192.168.1.80 > >> Allow from 192.168.1.66 > >> </C:/sites/intranet> > >> </VirtualHost> > > > > I don't know what that <C:/sites/intranet/> thing is supposed to be. > > Why didn't you try the suggestion I made earlier: > > > >> > <Location /> > >> > Order deny,allow > >> > Deny from all > >> > Allow from xxx.xxx.xxx.xxx > >> > </Location> > >> > > >> > See: > >> > http://httpd.apache.org/docs-2.0/mod/mod_access.html > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server Project. > > See <URL:http://httpd.apache.org/userslist.html> for more info. > > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |