2011-11-15, 07:55:53
Zegnåt Wrote:You would need to define the RewriteBase like this:
Code:RewriteBase /000/
The RewriteBase needs to match the location of your GetSimple installation.
I am revisiting this problem as I never did get it sorted ... fancy URLS not working
- Apache2 (Ubuntu)
- mod-rewrite enabled (so says a2enmod rewrite)
- .htaccess is below, which is the temp.htaccess supplied by latest GS version (3.0?) and the RewriteBase command changed as the test site is in /var/www/29/ (thus /29/) on my test server.
Thank you
Code:
AddDefaultCharset UTF-8
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /29/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
have to use the index.php?id= etc ... it's very frustrating so I'd be really grateful for any pointers to what I am doing wrong.