Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fancy URLS on Wamp server
#1
Hi,
I've just set up wamp for two sites using the Apache instructions and moved a site fro a live server and a site from my old non-virtual Wamp server.

On both sites I was able to login and reset my site URL, so everything seemed ok until I tried using any of the links via the menu from either site and just get a 'page not found' message.
Both sites have fancy URLs set and worked before the move.

I've been reading lots of messages about the problems with fancy URLs and my .htaccess looks like this:
#
# GetSimple CMS htaccess ROOT file
# apache 2.4
#

# The following require certain allow overrides, if getting 500 error comment them out one by one
# can be resolved in apache httpd.conf to ensure security alternatives

# override charset
AddDefaultCharset UTF-8

# prevent directory listings
Options -Indexes

# Follow symbolink links, This is required for rewrites on some hosts
Options +FollowSymLinks

# Set the default handler.
DirectoryIndex index.php

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
<IfModule mod_access_compat.c>
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
</IfModule>
</Files>

<Files sitemap.xml>
<IfModule !mod_authz_core.c>
Allow from all
</IfModule>
<IfModule mod_access_compat.c>
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
<IfModule !mod_access_compat.c>
Require all granted
</IfModule>
</IfModule>
</Files>

# handle rewrites for fancy urls
<IfModule mod_rewrite.c>
RewriteEngine on

# Usually RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
</IfModule>

I'm banging my head against the wall and wasting lots of time to unsuccessful get these sites going so I can work on them. Does anyone have any ideas what I have got wrong please?
Both sites health checks show green for everything and mod_rewrite installed.
Thanks
Guy
Reply


Messages In This Thread
Fancy URLS on Wamp server - by GuyB - 2014-08-21, 04:08:09
RE: Fancy URLS on Wamp server - by shawn_a - 2014-08-21, 04:24:37
RE: Fancy URLS on Wamp server - by GuyB - 2014-08-21, 04:39:59
RE: Fancy URLS on Wamp server - by shawn_a - 2014-08-21, 05:21:45
RE: Fancy URLS on Wamp server - by GuyB - 2014-08-21, 05:24:32
RE: Fancy URLS on Wamp server - by GuyB - 2014-08-22, 00:47:40
RE: Fancy URLS on Wamp server - by shawn_a - 2014-08-22, 08:37:26
RE: Fancy URLS on Wamp server - by GuyB - 2014-08-26, 07:01:21
RE: Fancy URLS on Wamp server - by GuyB - 2014-09-01, 05:14:32



Users browsing this thread: 1 Guest(s)