Multiviews with an Alias

I am having problems with MultiViews on an Alias directory.

Multiviews is enabled in Apache, and it works fine with any site added as a Virtual site, whether it is Name Based or IP based. However, some of the sites need to have an Alias directory added, and I do that in the Virtual Host container with:

Alias /example “/home/example/public_html”

The problem is - that Alias directory does not pickup on MultiViews. I don’t want to place it in the Apache config like the “icons alias” as it only needs to be accessed on the one site. I tried adding “Options +MultiViews” to a htacess file, but it still did not work.

Can someone point me to what I am doing wrong?

(BTW - I know multiviews is not the best solution, but these sites were migrated and depends on them. I need to get MultiViews working - then work on implementing a better system)

Solved! I had forgotten to set the directory permissions in the Apache config file.

<Directory “/home/*/public_html”>
Options Multiviews
Order allow,deny
Allow from all
</Directory>

coda,

Thanks for closing that for us.

Regards,

DK