using the .htaccess (and friendly urls) i get this error
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I’m using the default htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I see that this part is the same as previous versions’ htaccess files
any idea why this is not working?
the index.php exists and loads the main page, but when I try to access any page with a .html ending I get this error. Additionally, this will display anytime a page is not found.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
-
☆ A M B ☆
- 24,524 Posts
Is your installation of MODx in the root of your web server, or in a subdirectory (as in public_html/modx or htdocs/modx)
it is in a subdirectory for now
I changed the htaccess to
RewriteRule ^(.*)$ modx/index.php?q=$1 [L,QSA]
thanks for pointing that out
I don’t mean to be picky, but isn’t that what the htaccess line:
RewriteBase /
is for?
change that to
RewriteBase /modx
and you will be able to reconfigure more obviously when you move the installation.
right...
thanks for pointing that out