View Full Version : problem in the pages of the script
Fahad Almutairi
June 8, 2012, 09:23 PM
There is a problem in the pages of the script
Here
http://www.youcars.net/fly/
----------------------------
Only show Home but>>Other error pages
here
http://www.youcars.net/fly/add-listing.html
---------------------------
What is the problem please
Steffen Buschkemper
June 8, 2012, 09:28 PM
check your .htaccess File. I think the problem is URL Rewrite.
Best regards
Steffen
Chris Brown
June 8, 2012, 10:10 PM
Heres the installation guide, point 10 maybe the issue
http://www.flynax.com/forum/showthread.php?47-Software-Installation-Manual
Fahad Almutairi
June 8, 2012, 10:11 PM
this is .htaccess ... where is problem?
---------------------------------------------------
---------------------------------------------------
# enable apache morRewrite module #
RewriteEngine on
RewriteBase /
# set files headers
<IfModule mod_headers.c>
<FilesMatch "\.(css|js|png|gif|jpg|jpeg|htc)$">
Header set Cache-Control "max-age=2678400, public, must-revalidate"
</FilesMatch>
</IfModule>
# deflate static content
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/x-component text/css application/x-javascript application/javascript
</IfModule>
# allow request methods
<Limit POST PUT DELETE GET OPTIONS HEAD>
Order deny,allow
Allow from All
</Limit>
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
ErrorDocument 404 /404.html
# define system languages
RewriteRule ^([^//]+)/?(.{2})?/$ index.php?page=$1 [QSA,L]
# define paging
RewriteRule ^([^//]+)/?(.*)?/index([0-9]*).ht(m?ml?)$ index.php?page=$1&rlVareables=$2&pg=$3 [QSA,L]
# define listing
RewriteRule ^([^/][\w\-\_]+)(.+)-l?([0-9]+).ht(m|ml)$ index.php?page=$1&rlVareables=$2&listing_id=$3 [QSA,L]
# define account details request
RewriteRule ^((\w{2})/)?([\w-_]{3,})$ index.php?page=$3&lang=$2&account_request [QSA,L]
# define single pages
RewriteRule ^([^//]+)/?(^/*)?.ht(m?ml?)$ index.php?page=$1 [QSA,L]
# define other pages
RewriteRule ^([^//]+)/?(.*)?/?(.*)?(.ht(m?ml?)|/+)$ index.php?page=$1&rlVareables=$2 [QSA,L]
Chris Brown
June 8, 2012, 10:13 PM
looking at your url in the first post you would need to Replace:
RewriteBase /
to
RewriteBase /fly/
Fahad Almutairi
June 8, 2012, 10:48 PM
my friend Steffen Buschkemper
my friend Chris Brown
Thank you all
Skip the problem With your help
Powered by vBulletin® Version 4.1.9 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.