mephisto on subdomain
- Adamwest
- Posts: 16
- Starts: 12
- Wiki Edits: 0
it seems like a common thing to have Mephisto running on a sub-domain like blog.google.com or something. I have installed Mephisto correctly and symlinked Mephisto to my subdomain but none of the CSS themes work. I believe this to be a problem related to fact that its running from a subdomain, not the root. Has anyone else had similar experiences?
- Kumar
- Posts: 458
- Starts: 0
- Wiki Edits: 5
Hi- Make sure that your CSS files are having correct permission and also they are in the right folders. I think it might be caused due to some permission issue.
2007-10-30 12:27 PM
HostingRails Support- Adamwest
- Posts: 16
- Starts: 12
- Wiki Edits: 0
It turns out that I can access the CSS files in the main css directory but not any of the decending directories. IE.
http://blog.google.com/stylesheets/main.css %works
http://blog.google.com/stylesheets/mephisto/fullscreen.css %does not work.
I set the permissions of the css files by issuing the chmod 755 command on the mephisto directory. Still doesnt work. Whats even wierder is that i can copy a CSS file from the mephisto directory back into the main stylesheet director - still doesnt work. The permissions on this copied file and the main.css were the same. any ideas?
http://blog.google.com/stylesheets/main.css %works
http://blog.google.com/stylesheets/mephisto/fullscreen.css %does not work.
I set the permissions of the css files by issuing the chmod 755 command on the mephisto directory. Still doesnt work. Whats even wierder is that i can copy a CSS file from the mephisto directory back into the main stylesheet director - still doesnt work. The permissions on this copied file and the main.css were the same. any ideas?
2007-10-30 01:40 PM
- Varun
- Posts: 410
- Starts: 0
- Wiki Edits: 0
You had recursively symlinked the document root for your mephisto app. Also the app wasn't running on fascgi, I've made the required .htaccess and shebang changes so it's now on fastcgi. Production log says the app is accessing main.css page now, could you verify this again ?
2007-10-30 02:45 PM
- Adamwest
- Posts: 16
- Starts: 12
- Wiki Edits: 0
sorry but could you clarify this a bit? What is wrong with recursively symlinking the rails_app/public folder. something I should be wary of? Oh, the main.css file was loading correctly previously, its the css files in the child directories that will not load.
2007-11-01 07:48 PM
- Varun
- Posts: 410
- Starts: 0
- Wiki Edits: 0
Apache will throw errors if you recursively symlink public folder. I could see the main css page loading, now have you looked through your prodution log for this app to see if any routing errors popping up ?