ddantes
asked on
Can I configure WampServer to ignore my .htaccess?
My .htaccess includes redirects which make it impossible to load localhost. However, I'd like to keep a copy of .htaccess in my document root, because that is the local directory which interacts with my remote server. Is there a way to configure WampServer so it doesn't try to process .htaccess? Commenting out the rewrite module does not help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hmm must have been an older version. You could just slightly change the name of the file to something like old.htaccess or .htaccess0 so the name doesn't match.
ASKER
Too bad. Well, I can just keep .htaccess sequestered in a separate folder of the root directory, and WampServer doesn't try to process it. I was hoping to avoid that extra step by configuring httpd.conf to ignore htaccess, but apparently that option doesn't appear in this version?
Here's a link to the WampServer page which offers Apache add-ons, including what appear to be some legacy versions. Do you recognize any of them as having the configuration feature you mentioned?
http://www.wampserver.com/en/
Here's a link to the WampServer page which offers Apache add-ons, including what appear to be some legacy versions. Do you recognize any of them as having the configuration feature you mentioned?
http://www.wampserver.com/en/
No, I'm not going to look at that. You're making too big a deal out of this when you can just make a slight change in the name to deactivate it. It's not like you're going upload it again to your main site.
ASKER
Changing Allowoverride from "all" to "none" did it. You pointed me in the right direction, as usual.
ASKER
--------------------------
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Allow,Deny
Allow from all
--------------------------
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>