Welcome Guest | Login

problems with static website

Hi,
I have a working rails app, in its .htaccess I successfully configured a second domain for a rails app (mephisto). Now I changed my mind and I'd just have a static website instead of the second Rails app. I tough I just needed to change the symlink firstApp/public/secondDomain -> secondApp (instead of secondApp/public).
But I get a:

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Any suggestions?
Cheers,
Enrico

2007-10-18 06:09 PM

Enrico - I've copied your second domain's root directory to your firstApp/public directory. I've also put a rewrite rule in .htaccess file under the second domain's public directory. Now the site is working fine.

2007-10-18 06:45 PM

First of all let me say you're great.
Wondering why the symlink doesn't work?
Do you think is it better to set the static site as the main domain and handle the rails app as an addon domain?

2007-10-18 07:06 PM

Enrico - Your symlink was incorrect. You can also set the main domain static and let the addon domains handle rails apps.

2007-10-18 07:27 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.