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.
Revision from August 1, 2007 1:15 PM by anonymous
Forward in time (1 more) | See current | See changes | Linked from: Trouble Shooting