I have one main weblog which is the main page on my site, with other weblogs in subdirectories. I wanted users to be able to access each weblog by requesting only "mydomain.com" or "mydomain.com/OtherWeblog" without the need for direct reference to a specific file.
A problem I had was that the weblog software is not permitted to write into the root directory. This means that a request for "mydomain.com" needs to be redirected to the directory with the main weblog.
I have achieved this with a directive in the .htaccess file. This tells the server to use a different index.html file than the one in the requested directory.
This also means that a request for any other directory will also be redirected to the same file, unless that subdirectory also contains a .htaccess file with the directive "DirectoryIndex /thisDirectory/index.html".
Relevant documentation can be found at apache.org here or here at interland or here at homelinux.com , the latter also has some useful ideas for blocking unwelcome bandwidth consuming bots.
Would you like to benefit from the once in a lifetime investment opportunities in the UK? The lower level of the pound together with depressed property prices has created excellent conditions for medium to long term investment. I have substantial experience in the London market and would be delighted to offer no strings advice. If you'd like to know more, please contact me.
For more details please go to Rhema Housing Ltd. Rhema Housing Ltd is a Franchise Partner of Platinum Property Partners, the UK's fastest growing franchise, and a recognised provider of leading insight and support for UK property investors.
Massage and alternative therapies in London
A very good friend of mine is one of the worlds most amazing Audiologists. You can find out more here.......
click for hear2learn
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer