Hi,
I have 5 web pages at the root of my folder called for example:
index.php
about.php
contact.php
order.php
home.php
All of the pages are called by the index.php using GET method.
I also have a folder called about which contains the following file:
profiles.php
I have rewritten my URLs with MOD_rewrite in a .htaccess file which you can see below:
RewriteEngine On
Rewritebase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^robots\.txt$
RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [L]
Everything works fine when I navigate through contact, order and home. But when I select book it gives me the following message:
Index of /about
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[ ] profiles.php 26-Mar-2012 17:15 1.3K
Apache/2.2.20 (Ubuntu) Server at mysite Port 80
I have a few links on the about.php page also that point to http://www.mysite/about/profiles
which obviously do not work either
Any help will be great?