LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 02-08-2002, 09:37 AM   #1
FunkFlex
Member
 
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#
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

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


Reply


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 05:51 AM
vhost container - Apache namebased virtual host problems mac_casey Linux - Networking 3 01-03-2005 08:25 AM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 12:57 PM
Apache SSL - how to virtual host two or more secure websites on the same machine? bjoshi Linux - Networking 0 08-30-2001 08:01 PM
apache cgi-bin roadie Linux - General 6 06-16-2001 08:15 PM


All times are GMT -5. The time now is 11:12 AM.

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