Redirect to subdomain

Hello!

I just setup a website of mine(using a simple MVC architecture) and I tried to install a forum into a subdirectory but I cannot access the content of that subdirectory :frowning:

I used the CPanel to create the subdomain and then uploaded the forum’s files into that subdirectory but whenever I try to access my subdomain(http://forums.mysite.com/) it gives this 403 forbidden error…

I tried the web but nothing seemed to work…please help!

thank you in advance!

Have you checked the permissions on the subdomain directory? Should be set to 755.

It’s likely that your forum configuration file does not recognize the subdomain and is causing the failure. More information?

Regards,

DK

I can provide you with any information you require, just let me know of what you need!

@ James: I just checked the folder’s permissions and is set to 755

@DK:

This is my forum’s(phpbb) htaccess file(if it helps)


#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>

<Files "config.php">
    Order Allow,Deny
    Deny from All
</Files>

<Files "common.php">
    Order Allow,Deny
    Deny from All
</Files>

“Canned programs” typically have their own .conf file which must be edited to include both the physical location of the files as well as the URL for the program. It’s that I was referring to, not the code that it added in the .htaccess file.

Regards,

DK

DK, they have indeed a config file but is blank, so I assume it will be filled in by them upon install…but how can I install if I can’t access forums.domain.com ?? btw, because my mvc architecture I cannot access domain.com/forums because then forums would be wrongly considered a controller…

:frowning:

nemuritoru’,

Okay, let’s go back and look at how you uploaded the files. First, you created a subdomain, forum, on your domain. But, to upload, did you upload unzipped files from your own computer? Did you upload an “installer” package? Did you upload to the forum SUBDIRECTORY of your domain?

Regards,

DK

You have an option as error logs in cPanel. In the error log you will see a list of the error messages generated by your website. In this list you might get a clue regarding this error. You can post the error message here.