1
vote
1answer
33 views

CGI Script not running in PHP file

I have a CGI script in the server called script.cgi and I have added the following code to the domain vhost: Action add-footer /cgi-bin/script.cgi AddHandler add-footer .htm .html I have ...
1
vote
2answers
58 views

Does vhost order make a difference?

On our Centos webserver, Apache has a httpd.conf file which lists several vhost.conf files. We have five of these files for different sets of domains. One vhost.conf file can have hundreds of domains, ...
0
votes
2answers
61 views

Apache Virtual Host not working on .com domain

I have got a strange problem. I have two domains: mysite.co.uk and mysite.com, which need to point to the same directory on my server. The VHost for mysite.co.uk works perfectly. However, mysite.com ...
0
votes
1answer
139 views

Multiple domains on same virtual hosts in Apache

I'm working on an applicationĀ for my clients that allows them to set up small landing pages for their campaigns. I have a set of templates and views for adding text, photos etc to the templates. ...
0
votes
1answer
186 views

Subdomains problem with Apache configuration

I'm trying to acheive the following: http:// site.com -> main site (with www.site.com rewriting with no www) https:// predeploy.site.com -> second site (password protected and SSL) ...
2
votes
1answer
831 views

Apache serving different directory

I have defined a single vhost configuration (see below) for a domain. All HTML files in the root get served properly. But I can't access any files within a particular sub-directory called 'icons'. ...
1
vote
2answers
6k views

Apache virtualhost permission denied with several different DocumentRoots tried. What should I try next?

I have a self compiled version of Apache 2 running under Mac OS X Leopard. It's a default install at /usr/local/apache2 and work fine. Today I wanted to add a virtual host so I could access a ...