Forum Moderators: phranque

Message Too Old, No Replies

.htaccess not working

till yesterday worked fine

         

viggen

10:01 pm on Nov 17, 2003 (gmt 0)

10+ Year Member



hello everyone,

till yesterday all worked fine (ban bots, rewrite mysite.com to www.mysite.com etc..

Today nothing works, any ideas where to look at?

I emailed my host if they have upgraded/changed anything, but got just a list of links where to look at and after doing so i am as smart as before and .htaccess still isnt processing what it is suppose to do.

thanks for your help

moltar

6:37 am on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What exactly is happening though?

What was your .htaccess supposed to do?

Are you getting 500 error?

mbauser2

6:41 am on Nov 18, 2003 (gmt 0)

10+ Year Member



Check the file permissions on .htaccess, maybe? The server can't use it if the server can't read it.

viggen

10:27 am on Nov 18, 2003 (gmt 0)

10+ Year Member



thanks to both for your reply,
@moltar
.htaccess just ingores the command (this site is shown normal), it doesn't block any bots (perfect ban list) nor does it the redirect from .mysite.com to www.mysite.com nor does it the searchengine friendly url for the forum. (which all worked just fine a two days ago)

@mbauser2
permission is ticked on
Read (User,Group,World)
Write (User)
Execute (nothing)

could this be the problem?
I never touched the permission,and therefor have no idea what it should be, so please forgive me if i am overlooking the obvious.

thanks
viggen

keyplyr

10:45 am on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




Try uploading the .htaccess again (in ASCII), overwriting the file that is already on the server.

You can check the virtue of your .htaccess by commenting out one line at a time until you find out which one is breaking the whole file; if this is in fact the problem.

jdMorgan

4:14 pm on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



viggen,

I'm assuming that you did not change anything in your hosted account, and that it just 'mysteriously' stopped working - meaning that your hosting company changed something about the server configuration and did not tell you.

So, I'm trying to think of problems which have these two attributes:
1) Something the server admin might have changed.
2) Something you can compensate for at the .htaccess level.

About the only thing I've come up with is that if the admin changed the default Options setting, then you might be able to add the statement


Options +FollowSymLinks

ahead of all of your mod_rewrite directives.

If Options +FollowSymLinks is not specified at the server or 'hosting account' level, then mod_rewrite will not run.

It is also possible that the admin changed the AllowOverride settings, but there's nothing you can do as a user to compensate for that.

After trying some of the previous suggestions here, I think your best bet here is to contact tech support using phone and mail as well as e-mail, and keep trying until you get through to someone who can and will actually go look at the server configuration and check it for you.

Jim