Editing .htaccess File

    Date: 02/25/05 (Web Development)    Keywords: html, hosting

    I can't have SSI in my subdirectories according to my hosting company unless I enter in a few lines of code into the .htaccess file. Simple right, you open it in vi, then edit, and save! Yay it's working, but it's not working. I tried to alter the /var/www/html/ .htaccess file, but it doesn't work. I am not sure why it does because I have tried putting the lines of before and after their code. Then again, there are several other .htaccess files I could edit, but that doesn't make since either. I sent them a message about this, and I will expect an answer in 3-7 days. *roll* Granted, it's not like my page is credit sheerly on SSI, but I do use it for a few simple scripts like the date, time, and modification date.

    Anyone have a clue?

    This is the lines of code I am to enter:

    AddType text/html .shtml 
    AddHandler server-parsed .shtml 
    Options Indexes FollowSymLinks Includes

    This is the .htaccess file in the /var/www/html/ directory:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    
    order deny,allow
    deny from all
    allow from all
    
    
    order deny,allow
    deny from all
    
    AuthName www.mentalward.org
    AuthUserFile /home/virtual/site60/fst/var/www/html/_vti_pvt/service.pwd
    AuthGroupFile /home/virtual/site60/fst/var/www/html/_vti_pvt/service.grp



    It worries me to see the "IndexIgnore"

    If this isn't the right place to ask, please direct me somewhere that I can. Thanks!

    Source: http://www.livejournal.com/community/webdev/176052.html

« SQL authoring tool... || Javascript help needed. »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home