Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache vhosts and cgi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tyno
n00b
n00b


Joined: 20 Nov 2004
Posts: 57

PostPosted: Mon Feb 06, 2006 7:03 am    Post subject: Apache vhosts and cgi Reply with quote

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
View user's profile Send private message
gentleman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2005
Posts: 140
Location: Germany, Paderborn

PostPosted: Mon Feb 06, 2006 5:09 pm    Post subject: Reply with quote

Which version of apache do you exactly run?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum