Jump to content

[SOLVED] shared vs cloud


Recommended Posts

Hello to all,

 

I have been using a shared environment for my prestashop 1.4.8.2, all was and still is fine.

 

I found a really interesting offer from amazon ec2, and I built a ubuntu 12 x64 instance.

I have installed LAMP and I have configured the environment for a test install of prestashop.

I can not see any of the images of the catalog.

Please let me know what details you may need so you could give to me some advice of what can I change so the images would be displaied.

 

I have tried all the available options in the BO:

- Force compile to YES - Cache to NO

- Regenerate the .httaccess

- accessed the webpage from a portable version of the browser - so I would have no local cache

- Back Office > Preferences > Images - Regenerate thumbnails

 

I have also attached a file so you could see how a PS looks without images of the products

 

Please advice

post-299421-0-99430300-1343937346_thumb.jpg

Link to comment
Share on other sites

ok, well now that we isolated the issue to .htaccess, that gives us a clue. I have never used amazon services, but apparently it does not like the redirect that is occurring. my suggestion would be to call amazon tech support, provide the .htaccess file and ask them why their server does not support that style of redirect.

  • Like 2
Link to comment
Share on other sites

There is nothing so far, but I am not sure if they can help with something, that is because I have fullaccess to the Ubuntu instance and I can modify all the variables, so, if you could point me to what would you be interested, I think I can post it here for analize so we could modify it and re test.

Thank you in advance

Link to comment
Share on other sites

On Amazon I chose Ubuntu 12.04 64bit as OS, so please let me know what config should I paste to you so you could identify where the problem might be.

Maibe this could help somehow:

I have setup the server to host a single website in:

cd /etc/apache2/sites-enabled/
vi 000-default

and changed these lines:

 

DocumentRoot /var/www
<Directory /var/www/>

 

with these ones:

 

DocumentRoot /content/sites/mydomain.com
<Directory /content/sites/mydomain.com/>

 

So I will only have this website hosted, no virtual host is setup.

 

I have also done this:

cd /etc/apache2/
vi envvars

and changed these lines:

export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data

with these ones:

export APACHE_RUN_USER=ubuntu
export APACHE_RUN_GROUP=ubuntu

so I will get no error related to file permissions during the install.

Note: I have a system user: ubuntu

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...