.htaccess processed after deletion

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

.htaccess processed after deletion

Post by pickle »

Hi all,

In the process of trying to pretty up some URLs, I noticed my changes to my .htaccess file weren't being obeyed.

I'm at the point now where I've completely deleted the .htaccess file but Apache is dutifully still following the .htaccess rules I had set up. It's almost like it's cached the .htaccess rules and come hell or high water it's going to carry them out.

I've restarted Apache & that didn't do anything.

Does anyone know how to fix this?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Are you sure that .htaccess was deleted? Does your version check for other file names for rules in addition to .htaccess? Is there a .htaccess file with same or similar rules further up the tree? I've never heard of caching .htacess files.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

I don't know what the heck it is any more. I've deleted (for sure) the .htaccess file. I've restarted Apache after turning off mod_rewrite. I've also turned on rewrite logging - and nothing's getting written to that file. I think Apache has it in for me.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply