Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Can't get .htaccess and URL rewriting to work in Wamp server 3.0 (6 replies)

$
0
0
I have just installed Wamp Server 3.0 and have confirmed that the Apache "rewrite_module" is definitely ticked. I set up a virtual host and installed an Akeeba backup of a live site onto the Wamp Server. The site will not work with the .htaccess file (returns an error message), but will load if the .htaccess file is deleted. I know next to nothing about Apache but after Googling I tried changing line 246 of the httpd.conf from "AllowOverride none" to "AllowOverride all" but this made no difference.

This same site worked fine (with URL rewriting) on Wampserver 2.5 with the exact same .htaccess file.

I checked the Apache error log and got this: C:/wamp64/www/sitename/.htaccess: Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration

I've been Googling for hours but can't find how I should fix this.

The htaccess.txt file is the standard one shipped with Joomla (unaltered except for changing the file name to .htaccess) and says:

:
## No directory listings
IndexIgnore *

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## Mod_rewrite in use.

RewriteEngine On

I really don't know what I am supposed to change, if anything, or if there is some other change needed in the httpd.conf file. I tried taking out the "##" in front of No directory listings in the .htaccess file but that did not work. I am really just guessing. Can anyone help?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>