Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setup many virtuell webserver with own cgi-bin directory ?

Status
Not open for further replies.

anonimous

IS-IT--Management
Sep 22, 2003
31
CH
hi

I have a webserver with SuSE 8.2 and Apache Apache 2-2.0.44
There are many virtuell webserver.

But every virtuell webserver should have own cgi-bin directory.
How can I do that ?

regards
anonimous
 
Within each vhost use the ScriptAlias directive. Then create a directory container:

ScriptAlias /cgi-bin/ "/path/to/cgi-bin/"

<Directory &quot;/path/to/cgi-bin&quot;>

AllowOverride None
Options None
Order allow,deny
Allow from all

</Directory>

Then create the actuall directory inside their domains folder. Usually it is placed in the same directory as /html or /htdocs. Don't forget to leave the ownership of the directory with the user or they won't be able to add files to it.
 
hi RhythmAce

and what does it mean exactly ?

AllowOverride None
Options None
Order allow,deny
Allow from all

regards
anonimous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top