Mobile app version of vmapp.org
Login or Join
Margaret670

: Index file not loading automatically for Alias in Virtual Host I have the following virtual host setup: RailsBaseURI / <VirtualHost *:80> ServerName mydomain DocumentRoot /usr/share/redmine/public

@Margaret670

Posted in: #Apache2 #RubyOnRails

I have the following virtual host setup:

RailsBaseURI /

<VirtualHost *:80>
ServerName mydomain
DocumentRoot /usr/share/redmine/public

Alias /evaluation /home/user/evaluation/

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm

<Directory /usr/share/redmine/>
Options +FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<Directory /home/user/evaluation/>
Options +FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


When I go to mydomain/evaluation, I get an error. But when I go to mydomain/evaluation/index.php, it works. What am I doing wrong here?

Update:
I have confirmed that the request is routed to Redmine instead of being handled by Apache. Any ideas?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Margaret670

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme