Reputation: 8441
I just installed Apaxy for a better and customizable folders views.
It works perfectly, but not in my virtualhost.
Folder (localhost) :
Virtualhost (local.dev.conf, access with local.dev):
<VirtualHost *:80>
ServerName local.dev
DocumentRoot /var/www/local.dev
</VirtualHost>
Unfortunately, in the virtualhost (local.dev) apaxy doesn't work.
I assume it's normal because the server try to find files in local.dev/themes/...
Or my 'themes' folder is in the parent folder, so it is possible to resolve this ?
Here is the .htaccess : https://justpaste.it/t8yp
Upvotes: 0
Views: 743
Reputation: 3798
Apache serves file from the directory /var/www/local.dev
.
Moving the directory /var/www/theme
into /var/www/local.dev
would work. Nevertheless if, for any reason, you do not want to move theme
you can link it using the command ln -s /path/to/theme /path/to/local.dev/theme
.
Moving the directory would be a better solution as linking it, would force the configuration to enable follow-symlink
, as it can be considered as a security issue.
Upvotes: 1