2
votes
1answer
48 views

What is the default apache2 log format and where is defined such default?

I review (a fast reading) Apache Module mod_log_config and can't figure out what is the apache2 default log format and where is defined it. Any idea? Note that what is on ...
1
vote
1answer
98 views

PHP `virtual()` with Apache MultiViews not working after upgrade to 12.04

I use PHP's virtual() directive quite a lot on one of my sites, including central elements. This worked fine for the last ~10 years -- but after upgrading to 12.04 it somehow got broken. Example ...
4
votes
0answers
173 views

How do I configure Apache to run multiple instances?

Specifically, I have two httpd.conf files: /etc/apache2/httpd.conf /etc/apache2/httpd_2.conf How should I modify the /etc/init.d/apache2 script so that instances of Apache will be invoked for both ...
2
votes
2answers
2k views

Apache virtual host configuration error

I'm trying to configure Apache2 with Django and mod_wsgi on a virtual host. I wrote a simple configuration file: <VirtualHost: *.80> ServerName gpx ServerAlias gpx.gpsfte ...
2
votes
1answer
772 views

Restrict access to apache2 web root but allow it to subfolders

I need to restrict access by password to my web root apache test server (ie http://localhost) but allow access to subfolders (ie: http://localhost/testsite) I did create the .htpasswd and .htaccess, ...
1
vote
2answers
212 views

How to recreate apache configuration directory?

I was setting an apache instance up. And accidentally, I did rm -rf /etc/apache2. Now I don't have any configurations. Oh. I sudo apt-get install apache2 --reinstall, but didn't' work :( How can I ...
0
votes
1answer
97 views

Configure apache server to accept same domain post requests

I keep getting 405 errors when i try to send post ajax requests on localhost from a page to another.I understood this is a server configuration.Can anyone help ?
1
vote
1answer
540 views

export commands ignored in /etc/apache2/envvars script -

Maybe this belongs to Serverfault or launchpad.net, but here we go anyway: In Oneiric, there is an export command in this script /etc/apache2/envvars , setting LANG. This gets ignored on my server. ...
2
votes
1answer
5k views

How do I setup SSL CRT on my Apache2 server?

I just got from Godaddy a SSL certificate. I downloaded the files... But now I am wandering where I should put them. And is there anything else I need to setup? The reason I am asking because I am ...
4
votes
1answer
152 views

Why does my Apache folder show two configuration files?

When I cd to /etc/apache2/ I can see two configuration files: apache2.conf and httpd.conf. The apache.conf file has many configuration directives within (that makes me think it's the main ...
0
votes
1answer
1k views

How do I set up a local domain name in Apache and Ubuntu, eg website.sam?

I would like to map my directories/subdomains in the following way: /home/sam/sites/* to http://*.sam I don't want to have to add a line to my hosts file every time I spool up a new site. I'm a ...
0
votes
2answers
661 views

Bind example.com locally

How can I bind example.com to be served by the apache, I have running locally on the machine for development purposes? I tried adding this in my /etc/hosts file 127.0.0.1 example.com and ...
2
votes
1answer
2k views

Tomcat6 Manager Webapp returns a 404

http://localhost:8080/manager/html gives a 404 error on apt-get install of tomcat6 (6.0.28 on JVM 1.6.0_20-b20 on 2.6.35-27-generic amd64). http://localhost:8080/host-manager/html works. Lists one ...
2
votes
1answer
451 views

Clock in Apache doesn't match system time

My server time seems to be off on my Apache2 install, how do i fix this? Just running purely "date" in terminal returns the right time but im not sure how to login to apache2 and change it? This is on ...
2
votes
3answers
845 views

Cannot get 'default' Apache VirtualHost to work

I've changed this from the original VHost but it should still work in my mind: Listen 80 NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost ServerAdmin ross@localhost DocumentRoot ...