Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-08-2002, 08:37 AM   #1
Registered: Jan 2002
Location: UK
Distribution: Redhat 7.2
Posts: 35

Rep: Reputation: 15
Question How-to setup on Apache some Multiple Namebased Virtual Websites with cgi-bin

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#
servername: testserver

here is an example of my directives:
NameVirtualHost my ip#

<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)
ScriptAlias /cgi-bin/ /home/funkflex/cgi-bin             /etc/httpd/conf/httpd.conf (1003)
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, I receive an error file not found..

any suggestions for a

Last edited by FunkFlex; 02-08-2002 at 09:09 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - running multiple websites on one host xtra Linux - General 5 06-30-2010 04:51 AM
vhost container - Apache namebased virtual host problems mac_casey Linux - Networking 3 01-03-2005 07:25 AM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 11:57 AM
Apache SSL - how to virtual host two or more secure websites on the same machine? bjoshi Linux - Networking 0 08-30-2001 07:01 PM
apache cgi-bin roadie Linux - General 6 06-16-2001 07:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration