Livecode server .htaccess stop Prestashop sites...

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Livecode server .htaccess stop Prestashop sites...

Post by JosepM » Wed Aug 10, 2011 10:11 am

Hi,

I installed livecode-server on my shared JaguarPC hosting following the instructions without problems.

I have the scripts working but all the prestashop sites don't work. I get a 403 Error

-------
Forbidden
You don't have permission to access /shop on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
--------

Any idea why? I have the .htaccess into the public_html/ and the livecode-server into the public_html/cgi-bin and into the public_html/mydomain/cgi-bin

Salut,
Josep M

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Livecode server .htaccess stop Prestashop sites...

Post by bangkok » Wed Aug 10, 2011 11:57 am

JosepM wrote: I have the scripts working but all the prestashop sites don't work. I get a 403 Error
Give us more details.

What is the script that gives you such an error ?

Are you trying from a webpage, hosted on your web server with LC, to access a Prestashop site outside ?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10045
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Livecode server .htaccess stop Prestashop sites...

Post by FourthWorld » Wed Aug 10, 2011 4:38 pm

Was there an .htaccess file in place before you posted your new one? If Prestashops relies on an .htaccess file, overwriting it may cause errors, and you'd need to either keep your LiveCode stuff in a separate directory and use its .htaccess there, or modify the original .htaccess file Prestashops uses to include the stuff LC needs.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply