wrx03ppp Posted July 12, 2013 Share Posted July 12, 2013 Hi all Any advice appreciate to a total newbie on this. I have Synology NAS setup for "personal website" which works fine. I can install prestashop 1.5.3.1 in the users personal web site which runs through fine. I can access the shop and back office once this is done. When I change something in back office that causes .htaccess to be created I can no longer access ether shop or back office and just get the Synology page not found display. If I delete the .htaccess, I can access the shop and back office once more. Where do I start to look please? Many thanks wrx03ppp Link to comment Share on other sites More sharing options...
PascalVG Posted July 23, 2013 Share Posted July 23, 2013 Hi wrx, did you solve this problem already? If so, please let us know what went wrong, so others can use the info. if not, can you post the contents of the .htaccess file here? Maybe something strange is written in it that causes this problem. (N.B. No personal experience with 'Synology NAS' however...) Let us know, pascal Link to comment Share on other sites More sharing options...
wrx03ppp Posted July 23, 2013 Author Share Posted July 23, 2013 No solution to this problem yet.... I have tried other ways to achieve multi-user installs on Synology but nothing seems to work if you want to have multi-user with multi-domains. I have posted on Synology forum and will post again if I get a solution. Link to comment Share on other sites More sharing options...
wrx03ppp Posted August 6, 2013 Author Share Posted August 6, 2013 Hi No progress with this one... I just did a clean install of prestashop which worked ok, I could access the demo shop front and back office OK until I change something in settings such as "friendly url" and .htaccess is generated. I can then no longer access the shop front or back office. I think the problem could be the address of the shop is www.mydomain.com/~myusername/prestashop maybe the ~ is causing a problem? This is a feature of the Synology user website system Any advice appreciated. # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.mydomain.com$ RewriteRule . - [E=REWRITEBASE:/~myuser/prestashop/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /~myuser/prestashop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again 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