exportforce
Avachangererfinder
- 23 April 2006
- 256
- 22
Wie kann ich für unterschiedliche Domains, Logs anlegen?
Welchen eintrag muss ich in die conf machen?
Welchen eintrag muss ich in die conf machen?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<VirtualHost IP_ADRESSE>
DocumentRoot "/var/www/USER"
ServerName domainname.xy
ServerAlias *.domainname.xy
CustomLog /var/log/apache/logname.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
</VirtualHost>
SQAMPY schrieb:du musst nen vhost für die domain anlegen und dnan nen CustomLog setzen:
beispiel..
Code:<VirtualHost IP_ADRESSE> DocumentRoot "/var/www/USER" ServerName domainname.xy ServerAlias *.domainname.xy CustomLog /var/log/apache/logname.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" </VirtualHost>