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.
LVL 1
ddantesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Look in 'httpd.conf' and there is a line where it defines 'htaccess'.  Just comment it out.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ddantesAuthor Commented:
Thank you Dave.  I find two references to htaccess in httpd.conf, and I'm not sure what to comment out.  Here are both references...

--------------------------------------------------------------------------------------------------------------------
 #
    # 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>
0
Dave BaldwinFixer of ProblemsCommented:
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.
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

ddantesAuthor Commented:
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/
0
Dave BaldwinFixer of ProblemsCommented:
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.
0
ddantesAuthor Commented:
Changing Allowoverride from "all" to "none" did it.  You pointed me in the right direction, as usual.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.