I have only created one namebased virtual website so far with this example directory structure:
testserver ------> public_html
|--> cgi-bin--------->forum
|--> images
I have these attributes within my server config:
IP Address: my ip#
Port:80
servername: testserver
doc-root:/testserver/public_html
here is an example of my directives:
Code:
NameVirtualHost my ip#
NameVirtualHost 127.0.0.1
<VirtualHost my ip#>
DocumentRoot /home/funkflex/html /etc/httpd/conf/httpd.conf (996)
ServerName virtualtest /etc/httpd/conf/httpd.conf (997)
<Directory "/home/funkflex/cgi-bin">
Options ExecCGI FollowSymLinks Indexes /etc/httpd/conf/httpd.conf (999)
allow from all /etc/httpd/conf/httpd.conf (1000)
Satisfy any /etc/httpd/conf/httpd.conf (1001)
</Directory>
ScriptAlias /cgi-bin/ /home/funkflex/cgi-bin /etc/httpd/conf/httpd.conf (1003)
</VirtualHost>
when ip# is typed in, it can access my example .html file in publi_html, however, when I try and access/execute .cgi files e.g. YaBB.cgi (a BB) within a folder in cgi-bin (eg
www.testserver.com/cgi-bin/forum/YaBB.cgi), I receive an error file not found..
any suggestions for a
