Results 1 to 5 of 5
  1. #1

    Question Strange problem with .htaccess

    Guys, you are my last hope.

    I was hosting my site on a machine running LiteSpeed server, but few days ago have changed my hoster to other company, witch is using Apache 1.3.

    So, my .htaccess looks like this (of course its saved as .htaccess):
    http://portal.csnation.pl/htaccess.txt

    As you can see, every rule seems to be OK, but none of them is working, even this one, wich removes www. from URLs.
    Strangest thing is, that only thing that is partially working is this:
    http://portal.csnation.pl/download/p...sspray211.html
    It should redirect to redirect.php, but it is redirecting to... download.php!
    I have no idea what is going on. My hoster is saying, that this is related to errors in .htaccess, but I doubt that.

    I hope that you can help me.

    Sorry for my English BTW.

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    I can see "RewriteRule ^download/plik" is set to redirect to download.php. Test the .htaccess with a simple rule and see if it is working fine.

    Code:
    Redirect /yahoo http://yahoo.com
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  3. #3
    Not Found
    The requested URL /yahoo was not found on this server.

    So, this is problem with my hoster, as I thought?

  4. #4
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    Yes. It should be that AllowOverride is set to none in the main httpd.conf file.
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  5. #5
    Join Date
    Jan 2008
    Posts
    84
    ask your provider to change the AllowOverride directive to All.

Similar Threads

  1. strange problem
    By boris0452 in forum Dedicated Server
    Replies: 4
    Last Post: 08-09-2005, 02:58 PM
  2. Strange .htaccess redirect bug?
    By kenfused in forum Programming Discussion
    Replies: 8
    Last Post: 07-20-2004, 11:25 AM
  3. how come? strange problem
    By Kane503 in forum Web Hosting
    Replies: 3
    Last Post: 01-02-2003, 03:35 PM
  4. strange .htaccess phenomenon
    By maxbear in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-03-2001, 06:50 AM
  5. Strange HTAccess Problem
    By Lawrence in forum Hosting Security and Technology
    Replies: 9
    Last Post: 03-06-2001, 12:58 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •