The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess not working

Discussion in 'General Discussion' started by andyred23, Sep 8, 2004.

  1. andyred23

    andyred23 Registered

    Joined:
    Sep 1, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have currently set up my server and everything is working perfectly but.....

    .htaccess is not working. I am basically using the same script as on the last server which worked
    Code:
    RewriteEngine On 
    RewriteRule ^(.*)news\.htm news.php?id=$1 [l]
    
    Works like a dream on the old server yet, once I have transfer it over the new server I get a 404 error saying it can't find news.php, yet its available and if I manually enter the figures
    Code:
    news.php?id=2 
    
    The news story is show. I am guessing that the httpd.conf does not like the .htaccess file as I can even get the .htaccess to do a simple redirect!

    You advice would be appreciateda
     
Loading...

Share This Page