|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
RE: [Plug] Executing CGI Scripts outside cgi-bin
|
My server only has two network cards...one currently set for 10.0.0.5 and
the other as 192.168.0.2. The former will change to our public IP when we
go live.
I see from your example that you named it 10.16.232.10.
My questions on Virtual Hosting are these...
Do I need another network card to handle the IP for the virtual host?
Do I need to give the virtual host and IP (as you have done) or any ol'
name?
Charles
____________________________________________________________________________
NameVirtualHost 10.16.232.10
<VirtualHost 10.16.232.10>
ServerName webdev.something.net
DocumentRoot /home/htdocs/something.net
SetEnv SERVER_URL http://webdev.something.net
PerlPassEnv SERVER_URL
Alias /Internal/ /home/htdocs/Internal/
Alias /timedoc /home/htdocs/timedoc
Alias /pr0n /home/jason/research
Alias /doc /usr/doc
ScriptAlias /cgi-bin/ /home/htdocs/cgi-bin/
ScriptAlias /sec-cgi/ /home/htdocs/sec-cgi/
ScriptAlias /admin-cgi/ /home/htdocs/admin-cgi/
</VirtualHost>
____________________________________________________________________________
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|