Welcome to Sign in | Join | Help
Home Forums Photos Downloads

Virtual Directories and Themes.

  •  05-28-2007, 2:21 PM

    Virtual Directories and Themes.

    Ok, I'm just going to draw a picture and then ask why god why.  I have been trying to google up an answer but it seems to be.... Elusive.

    Here is the Directory Structure I WANT to use.

     

    • Website 1
    • Website 2
    • Shared
      • Images
      • App_Themes
        • Theme
      • OGL

    Originally, Images and App_Themes where in Website 1.  Since I wanted to share them with all my websites, I moved them to the shared folder that I created.  Then I added "Images" and "App_Themes" as virtual directories to Website 1.

    Having done this, Website 1 works exactly the same as before.  I did not have to change anything, or modify any setting.

    However when I moved the OGL folder and did the same, any aspx pages in that virtual directory come up with a Theme Not Found Error.  (The Theme is declared in the web.config file in Website 1 root folder).

    Now, Moving the App_Themes folder back does nothing, so I figure it has to do with the aspx file being in a virtual directory that is outside the "Website's" directory.

    I know I could combine the websites, but I am not going to, I'd rather duplicate the pages.  So if anyone has any idea why this is happening I'd love the help.

    Once I get that working I plan on moving the App_Code files out also.  But for some reason I think that will be easier.  But one step at a time :)


    -Wilson Gearld Mead III
    www.rangoric.com (Rather Blah)
    blog.rangoric.name (Closer to Not Blah)
View Complete Thread
Powered by Community Server, by Telligent Systems