Installing vanilla inside the sub-directory of the sub-domain! Help required
Let me put the steps I tried and how I wanted to:
I wanted to create multiple forum for different language, so I created en.mydomain.in for English, for the other language for example, french, I would create fr.mydomain.in
So my preference is to place the forum package inside the sub-directory of the subdomain
i.e en.mydomain.in/forum
This has to be my root for vanilla forum, in future If I add wordpress / blog, I prefer en.mydomain.com/blog
The conflicts I face, I use the shared hosting with cpanel.
mydomain.in is an add on domain, and created the sub-domain en.mydomain.in
I uploaded the vanilla 2.1b2 inside the root folder for en.mydomain.in, created the database. when I open the url first time, it opens for installation.
When I move the vanilla package to a sub-directory /forum i.e en.mydomain.in/forum and when I open the url for installation, it just stays blank and if I just type, en.mydomain.in, it browser displays /forum as directory.
Kindly assist me in setting up the forum inside the sub-directory of the sub-domain. Thanks
Best Answers
-
peregrine MVP
sounds like your .htaccess file is not set properly. post your .htaccess file.
make sure your rewrite base is set correctly. also you might want to use noindexes. and look at your logs to see where it tries to go and turn on debugging.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
2 -
x00 MVP
It is bad security to allow directory browsing in the first place. Really this should be controlled through server wide rules, though you can turn it off through .htaccess Google how to turn off directory browsing.
.Reg .hta access, should I have to place it in the subdirectory where all my vanilla package is kept or in the root folder?
It depends what you want to do.
grep is your friend.
7 -
peregrine MVP
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
Reg .htaaccess, should I have to place it in the subdirectory where all my vanilla package is kept or in the root folder?
from apache documentation:
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
http://stackoverflow.com/questions/1767785/htaccess-file-options-indexes-on-subdirectories
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
@ragu
Welcome to the community.
If you move a Vanilla install, you need to clear out the ini files (but not the folders) in the cache folder.
sounds like your .htaccess file is not set properly. post your .htaccess file.
make sure your rewrite base is set correctly. also you might want to use noindexes. and look at your logs to see where it tries to go and turn on debugging.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks @whu606 and @peregrine for your quick replies
Clearing .ini solved the issue, i.e en.mydomain.in/forum, opens for installation but however the directory is displayed if I just get in to en.mydomain.in
Reg .hta access, should I have to place it in the subdirectory where all my vanilla package is kept or in the root folder?
Yes I don't want any indexes, do I have to redirect?
It is bad security to allow directory browsing in the first place. Really this should be controlled through server wide rules, though you can turn it off through .htaccess Google how to turn off directory browsing.
It depends what you want to do.
grep is your friend.
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
from apache documentation:
http://httpd.apache.org/docs/
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
http://stackoverflow.com/questions/1767785/htaccess-file-options-indexes-on-subdirectories
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.