I'm having trouble assigning a virtualhost to a single domain using the Custom HTTPD Configurations option under the "Extra Features" in Admin level.
I got it working by editing /etc/httpd/conf/httpd.conf but then every subdomain was pointing to the RubyOnRails application (Redmine to be specific)
What should I add to the domain's custom httpd config to make this work for this domain only?
This is what I used in the main httpd.conf (worked, but for every domain on the server)
This is what's currently added to my domain's custom httpd conf:
I got it working by editing /etc/httpd/conf/httpd.conf but then every subdomain was pointing to the RubyOnRails application (Redmine to be specific)
What should I add to the domain's custom httpd config to make this work for this domain only?
This is what I used in the main httpd.conf (worked, but for every domain on the server)
Code:
<VirtualHost IP:80 >
ServerName [url]www.sub.domain.tld[/url]
ServerAlias [url]www.sub.domain.tld[/url] sub.domain.tld
DocumentRoot /var/www/redmine/public
RailsEnv production
<Directory /var/www/redmine/public>
AllowOverride all
Options -MultiViews
RewriteEngine Off
</Directory>
</VirtualHost>
This is what's currently added to my domain's custom httpd conf:
Code:
#SUBVERSION
<Location /svn>
DAV svn
SVNParentPath /svn
</Location>
#/SUBVERSION