[NCLUG] v-hosting
Rawls Moore
mrm at mtair.net
Fri Sep 22 17:25:25 MDT 2000
Hello everyone- i am currently trying to set up virtual hosting on a
machine. i have set it up according to the how-to and all the other
documentation that i have. i have put the include in the httpd.conf and
then created a file called vhost. in the vhost file i have put the
following:
NameVirtualHost 209.38.205.2
<VirtualHost 209.38.205.2>
ServerName onebc.net
ServerAlias onebc
DocumentRoot /home/onebc/htdocs
ScriptAlias /home/onebc/cgi-bin
TransferLog /home/onebc/logs/access_log
</VirtualHost>
whenever i restart httpd, i get this error:
[root at mail init.d]# ./httpd restart
Shutting down http: [OK]
Starting httpd: Syntax error on line 20 of /etc/httpd/vhost:
ScriptAlias takes two arguments, a fakename and a realname
[FAILED]
i have also checked /var/log in the messages folder and i get the same
error. i am sure that i am missing something really small, and that i just
can't see it after working on it for awhile. if anyone has any ideas,
please let me know. thanks alot-Rawls Moore
More information about the NCLUG
mailing list