View previous topic :: View next topic |
Author |
Message |
tyno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/162093649742746152bcf54.png)
Joined: 20 Nov 2004 Posts: 57
|
Posted: Mon Feb 06, 2006 7:03 am Post subject: Apache vhosts and cgi |
|
|
I just got vhosts working in apache when I realized that it broke my CGI support. Now all my CGI programs don't run ('forbidden').
My vhosts.conf:
Code: | NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/localhost/htdocs
Options +ExecCGI
AddHandler cgi-script .cgi .py
</VirtualHost>
<VirtualHost *:80>
ServerName subdomain.example.com
DocumentRoot /home/user/public_html
Options +ExecCGI
AddHandler cgi-script .cgi .py
</VirtualHost>
|
What should I do to make CGI work? I've checked the apache docs and searched the forums but couldn't find an answer. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentleman Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Blonde_Beard.gif)
Joined: 02 Dec 2005 Posts: 140 Location: Germany, Paderborn
|
Posted: Mon Feb 06, 2006 5:09 pm Post subject: |
|
|
Which version of apache do you exactly run? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|