Hi All, Relatively inexperienced at apache admin so please forgive any dumb mistakes on my part!
Been trying to set up a subdomain of my site, so I've created a config file in sites-available that looks like this: <VirtualHost *:80> ServerAdmin keir@localhost DocumentRoot /var/www/groupblog ServerName groupblog.mywebsite.org <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/groupblog> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> 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> </VirtualHost> I've then enabled it using a2ensite however it seems to override my default config file and serve the subdomain content when the main site URL is used. Any ideas what I'm doing wrong? Thanks Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzi6Ko7QU2tETtVtHEmABEzpS=P=WT0uyi=ban21bba...@mail.gmail.com