Re: Logging issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/15/2021 08:50 PM, Jonathon Koyle wrote:
> Is / valid in a ServerName directive?  I thought it only included scheme, host, and port?

I see. I just checked and that seems to be correct, ie my approach does not work. I should go back to along what Dino suggested for another problem I have. I am changing a few things but he suggested something along the lines of:

<VirtualHost *:80>
        ServerAdmin xxx
        ServerName 1.2.3.4
        DocumentRoot /var/www/html/site1
        ErrorLog /var/log/httpd/site1-error.log
        CustomLog /var/log/httpd/site1-access.log combined

	DirectoryIndex index.html index.php
	
	<Directory "/site1">
          Options none
          AllowOverride all
          Require all granted
	</Directory>
</VirtualHost>

The conf files would still be in /etc/httpd/conf.d directory and still be called site1.conf, site2.conf etc.

Should that work?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux