apache configuration --running two/2 test sites

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

 



I have an Apache server -- http://104.248.125.83

I'm simply trying to get the two(2) sites to be accessed via two(2)
different urls..
http://104.248.125.83/foo
http://104.248.125.83/oxwall

I do not have an actual FQDN, the two(2) sites are tests on the box.
The "/foo" and "oxwall" are
aliases within the vhost blocks.


Something is obviously wrong.. No matter what I do... I'm getting the
1st "foo/b2evolution" site!
Can't seem to figure out the "doh!!" issue...

The vhost files below, are included from the /etc/httpd/httpd.conf
(listed at the end)

I thought I could run the vhost files.. didn't work.  thought I could
try running two/separate aliases, didn't work..

I'm pretty much willing to try anything to resolve this. Given this is
a test bo, I'm also willing to give the user/passwd if that helps..

thanks
Any thoughts/comments...

/etc/httpd/sites-enabled/b2evolution.conf
/etc/httpd/sites-enabled/oxwall.conf


::/etc/httpd/sites-enabled/b2evolution.conf::
#Alias /foo /var/www/html/b2evolution
#Alias /oxwall /var/www/html/oxwall

<VirtualHost 104.248.125.83:80>
   ServerAdmin admin@xxxxxxxxxxxxxxx
   DocumentRoot /var/www/html/b2evolution/
   ServerName 104.248.125.83/b2evolution
   #ServerAlias 104.248.125.83
      <Directory /var/www/html/b2evolution/>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Order allow,deny
         allow from all
      </Directory>
   ErrorLog /var/log/httpd/foo.com-error_log
   CustomLog /var/log/httpd/foo.com-access_log common
</VirtualHost>


::/etc/httpd/sites-enabled/oxwall.conf::
#Alias /oxwall /var/www/html/oxwall

<VirtualHost http://104.248.125.83:80>
   ServerAdmin admin@xxxxxxxxxxxxxxx
   DocumentRoot /var/www/html/oxwall/
   ServerName 104.248.125.83/oxwall
   #ServerAlias 104.248.125.83
      <Directory /var/www/html/oxwall/>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Order allow,deny
         allow from all
      </Directory>
   ErrorLog /var/log/httpd/foo.com-error_log
   CustomLog /var/log/httpd/foo.com-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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux