We need some help with implementing name-based virtual hosting in a way that will take a URL hosted on our server and bring traffic to a specific journal in a cluster of journals on that server.
When we tried this configuration
<VirtualHost 80.160.240.59>
ServerName
http://www.newjournal1.com
ServerAdmin
noname@isp.net
DirectoryIndex index.html index.php
DocumentRoot /home/httpd/mainservername/www/ojs/index.php/NJ1/
CustomLog /var/log/apache/se_access_log combined
ErrorLog /var/log/apache/se_error_log
</VirtualHost>
either of two things happened. The correct journal page appeared, but without the uploaded graphic banner at the top (which was fairly tall as well as wide). Alternately, the banner failed to load (an outline box appeared briefly) and then the nav bar items appeared over on the left margin on an otherwise blank page.
If we do this
<VirtualHost 80.160.240.59>
ServerName
http://www.newjournal1.com
ServerAdmin
noname@isp.net
DirectoryIndex index.html index.php
DocumentRoot /home/httpd/mainservername/www/ojs/
CustomLog /var/log/apache/se_access_log combined
ErrorLog /var/log/apache/se_error_log
</VirtualHost>
everything works, but you end up just at the main ojs page where several journals are listed.
I did notice this old reference
viewtopic.php?t=131&highlight=virtual+host
but I am not certain whether this would apply or be helpful.
Any help will be appreciated.