SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    Winnipeg Canada
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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)

  2. #2
    SitePoint Zealot
    Join Date
    Feb 2004
    Location
    Winnipeg Canada
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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>

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    coda,

    Thanks for closing that for us.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •