Not Solved Can't access my site: "Forbidden: You don't have permission to access / on this..."
#1
Not Solved
Recently, I started a new site dedicated to spreading awareness about computer vulnerabilities. However, when I try to access the site using the URL "xploitforums.net" (remove quotes), I receive this response:

[Image: forbidden_zpsa402ec73.png]

Now, I can access the site using this URL: http://xploitforums.net/MyBB/index.php. But I'm concerned that I can't use the previous URL (xploitforums.net) to access the site.

I've encountered this problem before and I fixed it by simply scrapping the forum and reuploading the site files. However, I prefer not to do that this time. If anyone else has experienced this problem (and solved it), please let me know how you can solve it.

The MyBB version I'm using is 1.8.1.

Any help would be much appreciated as I've searched for days for a solution to this problem.
Reply
#2
Not Solved
Well, your forum is in MyBB subfolder. You can redirect your main directory to that subfolder with .htaccess: http://stackoverflow.com/questions/99039...bdirectory
Reply
#3
Not Solved
(2014-11-08, 10:11 PM)Destroy666 Wrote: Well, your forum is in MyBB subfolder. You can redirect your main directory to that subfolder with .htaccess: http://stackoverflow.com/questions/99039...bdirectory

Thanks for the quick response!

I managed to redirect my main directory to xploitforums.net/MyBB/, but I'm still trying to figure out how to redirect to xploitforums.net.

I managed to redirect to xploitforums.net/MyBB/ by placing an .htaccess file in xploitforum.net/MyBB/.

The .htaccess file's contents are as follows:

RewriteEngine On
RewriteRule ^$ /MyBB/index.php [L]

Again, still trying to figure this out. But, hey, at least I'm one step closer to solving this problem. Maybe I'll figure it out fully once I study Apache's directive index.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)