1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

.htaccess doesn't work on subdomains

Discussion in 'Plesk for Linux - 8.x and Older' started by MikePaul99, Sep 10, 2005.

  1. MikePaul99

    MikePaul99 Guest

    0
     
    Just as the title says, I cannot get .htaccess to work with any of my subdomains.

    All I'm trying to do is make use of mod_rewrite. Funny thing is it used to work with 7.5.3.

    Any ideas?
     
  2. MikePaul99

    MikePaul99 Guest

    0
     
  3. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Seems to be working for me. I have a subdomain 'plesksub' on my test server, and I put a simple .htaccess file in:

    /home/httpd/vhosts/testdomain.com/subdomains/plesksub/httpdocs

    containing:
    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    </Limit>      
    <Limit PUT DELETE>
    order deny,allow  
    deny from all   
    </Limit>
    
    Then RESTART APACHE, and it denies me access to the site, when I remove it, I can then bring up the index.html file.
     
Loading...