http://1.2.3.4/otrs
I then added a virtualhost to hold the actual web site that OTRS will be supporting, and that website loads fine at:
http://1.2.3.4
but now http://1.2.3.4/otrs shows page not found.
I'm sure this is a simple thing to fix, but I'm not a virtualhost expert, and I'm not sure how the otrs.conf file in the conf-available folder interacts with the domain.conf file in the sites-available folder.
My /etc/apache2/conf-available/otrs.conf file is the one taken from the installation guide, and contains those two lines:
Code: Select all
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
Code: Select all
# domain: example.com
# public: /var/www/example.com/public_html/
<VirtualHost *:80>
# Admin email, Server Name (domain name), and any aliases
ServerAdmin webmaster@example.com
ServerName http://www.example.com
ServerAlias example.com
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /var/www/example.com/public_html
# Log file locations
LogLevel warn
ErrorLog /var/www/example.com/log/error.log
CustomLog /var/www/example.com/log/access.log combined
</VirtualHost>
-Josh