← Back to team overview

sslug-teknik team mailing list archive

Re: httpd.conf

 

In <281C70761C118C24580201CC@xxxxxxxxxxxxxxxxxxxxxxx> "Michael" <michael@xxxxxxxxxxxxxx> writes:

>Nogen som har en httpd.conf fil hvor der er sat virtualhosting op med flere
>websites på den samme ip, som skulle have lyst til at sende en kopi af filen
>til mig?

Tjah, der afsløres nok ikke de store hemmeligheder ved at vise de relevante
dele af httpd.conf fra SSLUG maskinen (IP: 192.38.71.98). Jeg har dog
sakset en del "Redirect" direktiver, da de er ligegyldige for virtual
host konfigurationen.


### Section 3: Virtual Hosts

#<VirtualHost _default_:*>
#</VirtualHost>


NameVirtualHost 192.38.71.98

<VirtualHost 192.38.71.98>
  Servername www.sslug.dk
  Serveralias da.sslug.dk en.sslug.dk se.sslug.dk sv.sslug.dk
  DocumentRoot /home/www/www.sslug.dk/
  CustomLog /var/lib/htdig/httpd_logs/access_log sslugformat
  ErrorDocument 404 /missing.shtml
</Virtualhost>


<VirtualHost 192.38.71.98>
  Servername www.opensource.dk
  DocumentRoot /home/www/www.opensource.dk/
  DirectoryIndex index.shtml index.html index.php
  <Directory "/home/www/www.opensource.dk/">
    Options Indexes FollowSymLinks Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    XBitHack full
  </Directory>
  CustomLog /var/lib/htdig/httpd_logs/opensource_access_log common
  ErrorLog /var/lib/htdig/httpd_logs/opensource_error_log
  ErrorDocument 404 /missing.shtml
</Virtualhost>

o.s.v.
-- 
Henrik Storner      | "Crackers thrive on code secrecy. Cockcroaches breed 
<henrik@xxxxxxxxxx> |  in the dark. It's time to let the sunlight in."
                    |  
                    |          Eric S. Raymond, re. the Frontpage backdoor


Follow ups

References