VirtualHost: Difference between revisions

→‎httpd.conf File: Adding more instructions
No edit summary
 
(→‎httpd.conf File: Adding more instructions)
Line 25: Line 25:


'''ErrorLog logs/foobar-error_log''' and '''CustomLog logs/foobar-access_log common''' specify where error log files will be saved.  You can put any directory you want, but a relativly logical naming convention is to put the (sub)domain before the title of the log, as done in this example.
'''ErrorLog logs/foobar-error_log''' and '''CustomLog logs/foobar-access_log common''' specify where error log files will be saved.  You can put any directory you want, but a relativly logical naming convention is to put the (sub)domain before the title of the log, as done in this example.
Repeat the <VirtualHost *> directive for each (sub)domain you wish to set up.
12

edits