On 10/16/18 10:01 PM, bruce wrote:
The vhost files below, are included from the /etc/httpd/httpd.conf
(listed at the end)
You didn't list that file, but that's ok. The redhat/Fedora style is to
put .conf files in /etc/httpd/conf.d, not using sites-enabled. You
could probably softlink them from sites-enabled to conf.d though.
I thought I could run the vhost files.. didn't work. thought I could
try running two/separate aliases, didn't work..
You can't have separate logfiles for both subdirectories. You only have
one vhost so you can only have one configuration. In this case, what is
the point of trying to make them separate when they are actually in the
same directory anyway? Are you going to change that in the future or
what separation are you trying to achieve?
<VirtualHost 104.248.125.83:80>
ServerAdmin admin@xxxxxxxxxxxxxxx
# you will need to put something at the document root in case
someone enters that directly
DocumentRoot /var/www/html/
ServerName 104.248.125.83
# you probably don't want to put these directories under the root
# because at least the first one will be visible at two places
# /foo and /b2evolution
# the second one is just redundant as is
Alias /foo /var/www/html/b2evolution
Alias /oxwall /var/www/html/oxwall
<Directory /var/www/html/b2evolution/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Directory /var/www/html/oxwall/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# you can only have one log for everything here
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
</VirtualHost>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx