Hi All,
I am in a big problem regarding the Friendly url issue for my site. Just look at the link (i want it in the given way)
http://syd-srv06.ezyreg.com/~haha7316/lumina-diem/contact/
here the last part ’contact’ is the document alias, and ’lumina-diem’ is the document root, some other documents are also belong to the same document root ’lumina-diem’ like ’about us’, but the above url is not working, it says 404 page not found error.
So How can i show the www.MyDomain.com/document-Root/document/
___________________________________________________________________________
Modx version : 0.9.6.3
My situation in Friendly url is :
Use friendly URLs: Yes
Prefix for friendly URLs: (Blank/empty)
Suffix for friendly URLs: (Blank/empty)
Allow duplicate aliases: Yes
Use friendly alias path: Yes
Use friendly aliases: Yes
Automatically generate alias: Yes
_________________________________________________
My .htaccess is as follows:
# For full documentation and other suggested options, please see
#
http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
# including for unexpected logouts in multi-server/cloud environments
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
#RewriteRule (.*)
http://www.example.com/$1 [R=301,L]
# Exclude /assets and /manager directories from rewrite rules
RewriteRule ^(manager|assets) - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
_________________________________________________
Any help is appreciated.
Note: If i add some spam text(Like : akjdak;adfjadj) in the .htacess then it give me 500 error, it means the .htacess works, but not sure the htdd.conf concept or if it is working or not)
Thanks