DirectoryIndex for .htaccess?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asmith
    Junior Member
    • Aug 2004
    • 4

    #1

    DirectoryIndex for .htaccess?

    Hello,

    Is placing the following in the .htaccess file the best way to route a new default page?

    DirectoryIndex articles/index.html

    Or is editing the httpd.conf file better? I am basically wanting all incoming traffic going to domain.com to default to domain.com/articles/

    Thanks.

    - Andy
  • Buddha
    Senior Member
    • Mar 2004
    • 825

    #2
    Or is editing the httpd.conf file better?
    Since you don't have access to httpd.conf at Dathron the question maybe mute. However, I perfer .htaccess as it just seems easier to maintain domain spicific configuration in the domain's root IMO. If I can't do it thru .htaccess then I probaby can't do it at a shared host anyway.

    I only change httpd.conf on my development server to add virtual host and logging entries.
    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

    Comment

    Working...