I'm running Ubuntu 8.04.1 desktop, and have tried and tried and tried to set up apache with some local domans for use with we development. No success.
I have left apache2.conf untouched from the installation, and have added http.conf thus:
Naturally, each IP address is for one domain. "intertrafico" is the "main" server, which contains common files for all the other domains. The IPs are also defined in the /etc/hosts file.
Each virtual host is set up like this (only shown is "intertrafico" but the others are equal except for domain name and directory).
I also tried to set up apache on my windows machine before I switched, but no luck. I would still like to use apache because it's more or less a standard program.
Options Indexes FollowSymLinks MultiViews
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 10.10.10.2/255.255.255.0
My router has address 10.10.10.1 and gives addresses from 2 to 9; the printer is 10 (10.10.10.10), so I've defined "legal" addresses to be 2-9.
Can anyone see what's wrong or missing?