SiB Posted January 30, 2011 Share Posted January 30, 2011 Hello,I have my own web server on Apache2, PHP5, MySQL ... and I click to Friendly URL: YES and my shop is SHOW BLANK PAGE http://www.tomo-make-up.pl/ . Admin page have error 404! http://www.tomo-make-up.pl/admin85 .Diagnostic:http://www.tomo-make-up.pl/info.phpApache mod_rewrite is loaded!ls -al .htaccess -rw-rw-rw- 1 http http ... .htaccess cat .htaccess # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums # Enable or Disable is not change anything... #Options + FollowSymLinks # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php VHost: cat tomo-make-up.pl.conf # This is example config file for virtual host "example.net" # Redirect only vhost. Use permanent url for same resource. # # ServerAlias tomo-make-up.pl # RedirectPermanent / http://tomo-make-up.pl # ServerName tomo-make-up.pl ServerAdmin [email protected] DocumentRoot /home/services/httpd/vhosts/tomo-make-up.pl ErrorLog logs/tomo-make-up.pl-error_log TransferLog logs/tomo-make-up.pl-access_log AllowOverride All # Options None # Order allow,deny Allow from all # VHost ErrorLog: [sun Jan 30 03:09:23 2011] [alert] [client 192.168.0.252] /home/services/httpd/vhosts/tomo-make-up.pl/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration reboot serwer or any services is not change anything.I simple click to generate .htaccess and select YES for Friendly URL. Accept it.What I may check to correct this or Disable Friendly URL.I must start my shop ASAP.Thanks for any help.EDIT:phpMyAdmin > tomo-make-up-pl > ps_configurationid_configuration: 4, name: PS_REWRITING_SETTINGS, value: 0This means that Friendly URL are disabled !.EDIT2:My vhosts are located in /home/services/httpd/vhosts/tomo-make-up.pl but I found this error_log: [sun Jan 30 08:48:58 2011] [error] [client 192.168.0.252] File does not exist: /home/services/httpd/html/admin85 LOL!!, Admin-Shop page is trying open in my non-vhost dir!, I found solution on this on my apache.conf file.Before:NameVirtualHost *:80Now:NameVirtualHost * Link to comment Share on other sites More sharing options...
Luca S. Posted February 25, 2011 Share Posted February 25, 2011 Same error! Me too! Why? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now