Sitellite has been made to run under CGI-mode on Apache with the following changes:
Note: Requires mod_rewrite
1) Rename the file 'index' to 'index.php'
2) Comment everything in the .htaccess file out (put a # in front of each line)
This should result in you being able to see the main page of Sitellite's example site when you go to /index.php on your website, however all links to subsequent pages should come up not found.
3) Add the following lines to your .htaccess file:
RewriteEngine On
RewriteRule ^index$ index.php [L]
RewriteRule ^index/(.*)$ index.php [QSA,L]
This should cause Sitellite's original URL scheme to map correctly to the new 'index.php' file, which should in turn process requests correctly based on the $_SERVER['REQUEST_URI'] value.
If the home page doesn't come up when you go to / on your website (ie. http://www.example.com/), try uncommenting the DirectoryIndex line in .htaccess and that should fix it.
+++++++++++++++
15-April-2007,
by Massimo D'Alessandro (member name=newbold)
+++++++++++++
I have had the same problem but unfornutely the suggested lines did not work. I had to change the last RewwriteRule? clause adding a slash at thee beginning of the second parameter. Here is the resulting working code:
RewriteEngine On
RewriteRule ^index$ index.php [L]
RewriteRule ^index/(.*)$ /index.php [QSA,L]
Revision from August 1, 2007 1:15 PM by anonymous
Back in time (1 more) | Linked from: Trouble Shooting