after trying to enable mercurial apache web access on my Ubuntu Server 12.04 box, I've got a 403 Forbidden error when accessing http://my.site.com/mercurial with log:
[Tue Sep 04 01:20:22 2012] [error] [client X.X.X.X] client
denied by server configuration: /mercurial/hgweb.cgi
I have added this to /etc/apache2/sites-available/default
ScriptAliasMatch ^/mercurial(.*) /mercurial/hgweb
I have searched the forum high and low for the solution with no success, so I will now post this problem, with all known facts. Linux (and Fedora) is brand new to me so I'm somewhat illiterate with the language and recommendations from reading other threads. Please bare with me.
I trying to get my SSL certificate to work with apache2 on ubuntu.
Chrome gives me just the error:
Error 102 (net::ERR_CONNECTION_REFUSED):
On this config:
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride
I have a apache server running on ubuntu 10.04. i wanted to give the server a name.
I've just set up a aws ubuntu instance, I have apache2, mysql-server etc and have configured a vhost, added it to apache and restarted apache.
My virtual host config is:
<VirtualHost *:80>
ServerAdmin ss@ss.com
ServerName mysite.ec2-xx-xx-xx-xx.compute-1.amazonaws.com
DocumentRoot /mnt/my_site
<Directory />
Options FollowSymLinks
AllowOverride
I want to execute py/cgi files on my server.
if I do it this way: it works
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
drwxr-xr-x 2 root root 4096 nov 6 15:27 www
but if I do this: does not
I'm using apache on RHEL Linux server
In my /etc/httpd/conf.d/httpd.conf there are two directives:
WSGIScriptAlias /apps /var/www/apps
<Directory /var/www/apps >
Options MultiViews ExecCGI
MultiviewsMatch Handlers
SetHandler wsgi-script
Order allow, deny
allow from all
</Directory>
ScriptAlias /scripts /var/www/scripts
<Directory /var/www/scripts >
Options Mul
#vi /etc/apache2/sites-available/default
Alias /lg/favicon.ico "/usr/local/httpd/htdocs/lg/favicon.ico"
<Directory "/usr/local/httpd/htdocs/lg/favicon.ico">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
ScriptAlias /lg/ "/usr/local/httpd/htdo