Hi,
Can someone help me with setting up Friendly URL using Apache?
Once I switch these on, the pages go to 404 page not found!
Thanks,
Stuart
Have you enabled FURL’s from the Manager & renamed ht.access to .htaccess in your root folder?
Yeah I have changes these, but the problem still seems to be their, how many places does this have to be changed?
Is your site in a sub-folder rather than the root?
Is mod_rewrite a loaded module in your PHP info?
Do you have the correct RewriteBase in .htaccess?
I am new to modx development, could you expand on what need to be included in .htaccess?
In root .htaccess file:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName gregsbootcamp.co.uk
AuthUserFile /home/z02greg/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/z02greg/public_html/_vti_pvt/service.grp
In Manager .htaccess file:
RewriteEngine Off
<IfModule mod_security.c>
# Turn the filtering engine Off
SecFilterEngine Off
</IfModule>
-
☆ A M B ☆
- 894 Posts
In your modx installation folder there is a file called ht.access rename this file to .htaccess and keep it in the same directory no need to move it.
In system settings make sure you have these options enabled.
Good luck.
-
☆ A M B ☆
- 894 Posts
It seems like he’s looking at the .htaccess on his root folder this is the one provided by your host, do not delete it or change anything in it unless you know what your doing.
The htaccess file we are talking about is the one that is in the directory where you installed modx to so it should be in the same folder where your assets folder is.
Thank you for your reply, I will try these and let you know how I get on!
Stuart