|
when setup OSQA to sub folder like /en,/jp it was break the css style.. check http://www.iosqna.com/en/ how should i do?
showing 5 of 7
show 2 more comments
|
|
Ok, so if everything runs ok except for the styles, there's no need to reinvent anything :) Just create the alias is it right? adding the below sentence into .htaccess ? [an error occurred while processing this directive] error comes... Alias /m/default/media /forum/skins/default/media
(12 Jul '10, 14:06)
iOSQnA
1
Well, you forgot something before /forum :) Alias /m/default/media /path/to/osqa/forum/skins/default/media It's the absolute path in the filesystem, not in the folder.
(12 Jul '10, 14:13)
Hernani Cerq... ♦♦
the hosting server that i use doesn't support Alias command . so i create symbolic link like below ln -s /m/default/media ~/.local/lib/python2.6/site-packages/osqa/forum/skins/default/media but it is not working...same as before ~
(12 Jul '10, 14:24)
iOSQnA
1
hum, I don't understand that link, what's your hosting provider?
(12 Jul '10, 14:54)
Hernani Cerq... ♦♦
OK. i solved this problem using subdomain. haha thank you for all your support!!
(12 Jul '10, 15:06)
iOSQnA
my hosting provider is bluehost.
(12 Jul '10, 15:07)
iOSQnA
showing 5 of 6
show 1 more comments
|

How did you setup the subpath? With an apache alias?
i didn't set any apache alias setting. is there any way to manage in settings_local.py file?
SITE_SRC_ROOT = os.path.dirname(file)
Ah, yes, that's why I asked, because if you use an apche alias, then there is some known problems with django. If that's not the case, try changing the setting FORUM_SCRIPT_ALIAS to your subpath, for example
/en.another error comes...see that http://www.iosqna.com">url..http://www.iosqna.com/en/ The current URL, , didn't match any of these.
Yeah, I just realised later that I had to ask you how did the /en get appended, I could imagine this would happen :) http://www.iosqna.com/en/en/
So, what's the configuration you're using to get the /en appended?
there is a file .htaccess and .fcgi in en/ folder and fcgi call the osqa. is that what you want to know?
i want to run multiple site like for japanese and english etc...separately site code and database.. like site.com/en and site.com/jp . there is a fcgi file each folder en, jp and call the each process. it works well except breaking css style.