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
#2
is gs in a subdir ?
Maybe you dont have mod rewrite
What does health check saY?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Hello Shawn,
No its not in a subdir, here's the health check info:
GetSimple

GetSimple Version 3.3.2
Latest version installed
GSLOGINSALT No
GSUSECUSTOMSALT No

Server Setup

PHP Version 5.5.12 - OK
cURL Module Installed - OK
GD Library Installed - OK
ZipArchive Installed - OK
SimpleXML Module Installed - OK
chmod chmod - OK
Apache Web Server Apache/2.4.9 (Win64) PHP/5.5.12 - OK
Apache Mod Rewrite Installed - OK

For more information on the required modules, visit the requirements page.

Data File Integrity Check

/data/pages/about-us.xml XML Valid - OK
/data/pages/contact-us.xml XML Valid - OK
/data/pages/first.xml XML Valid - OK
/data/pages/index.xml XML Valid - OK
/data/pages/second.xml XML Valid - OK
/data/pages/third.xml XML Valid - OK
/data/other/404.xml XML Valid - OK
/data/other/authorization.xml XML Valid - OK
/data/other/components.xml XML Valid - OK
/data/other/i18n_menu_cache.xml XML Valid - OK
/data/other/i18n_settings.xml XML Valid - OK
/data/other/pages.xml XML Valid - OK
/data/other/plugins.xml XML Valid - OK
/data/other/website.xml XML Valid - OK
/data/other/logs/failedlogins.log XML Valid - OK

Directory Permissions

File Name: /data/other/plugins.xml 0666 Writeable - OK
/data/pages/ 0777 Writeable - OK
/data/other/ 0777 Writeable - OK
/data/other/logs/ 0777 Writeable - OK
/data/thumbs/ 0777 Writeable - OK
/data/uploads/ 0777 Writeable - OK
/data/users/ 0777 Writeable - OK
/data/cache/ 0777 Writeable - OK
/backups/zip/ 0777 Writeable - OK
/backups/pages/ 0777 Writeable - OK
/backups/other/ 0777 Writeable - OK
/backups/users/ 0777 Writeable - OK

.htaccess Existence

/data/ Good 'Deny' file - OK
/data/uploads/ Good 'Allow' file - OK
/data/users/ Good 'Deny' file - OK
/data/cache/ Good 'Deny' file - OK
/data/thumbs/ Good 'Allow' file - OK
/data/pages/ Good 'Deny' file - OK
/plugins/ Good 'Deny' file - OK
/data/other/ Good 'Deny' file - OK
/data/other/logs/ Good 'Deny' file - OK
/theme/ No file - OK
Reply
#4
Whats your permalink structure? Empty?
you goto

/slug and you dont get the page ?
does index.php?id=slug work ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
(2014-08-21, 05:21:45)shawn_a Wrote: Whats your permalink structure? Empty?
you goto

/slug and you dont get the page ?
does index.php?id=slug work ?

Hi Shawn,

The /slug don't work but the index.php?id=slug does...
Thanks for your help with this.
Guy
Reply
#6
(2014-08-21, 05:24:32)GuyB Wrote:
(2014-08-21, 05:21:45)shawn_a Wrote: Whats your permalink structure? Empty?
you goto

/slug and you dont get the page ?
does index.php?id=slug work ?

Hi Shawn,

The /slug don't work but the index.php?id=slug does...
Thanks for your help with this.
Guy
Hi Shawn,

Did you have any ideas about how to fix this please?
Thanks
Guy
Reply
#7
Your rewrite is not working. Are you sure you are not in a subdirectory below web root?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#8
(2014-08-22, 08:37:26)shawn_a Wrote: Your rewrite is not working. Are you sure you are not in a subdirectory below web root?

Hi Shawn,

Any ideas about the re-write? the re-write service in Apache says it is running ok, what else should I check? does my htaccess look ok?

Thanks
Guy
Reply
#9
Hello to Anyone out there,

Does anyone have any ideas how I fix this problem please?

Thanks
Guy
Reply




Users browsing this thread: 1 Guest(s)