Newly Created Website, Getting 403 Error

Status
Not open for further replies.

dailytas

New Member
Messages
7
Reaction score
0
Points
1
Hi! I have just created a website (http://dailytasks.x10.mx) and have uploaded an index.php file and test.php file. They both have the permissions 644. However when I visit my website's url I get a 403 Error.
What's going on and how can I fix it and get started?
 

dailytas

New Member
Messages
7
Reaction score
0
Points
1
I just uploaded an html file and was able to access it online so it appears that it is only my php files that are throwing 403 errors...
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
What are these scripts supposed to do? Do they need to use the database?
 

dailytas

New Member
Messages
7
Reaction score
0
Points
1
They are both the same. The only php in them is <?php echo phpinfo(); ?>
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
Figures. mod_security2 is installed on these servers and as far as I'm aware, there's a rule set to prevent execution of that for reasons.
 

dailytas

New Member
Messages
7
Reaction score
0
Points
1
Ok I tried removing the phpinfo() and just using "Hello World" and it made it work. Looks like it's the phpinfo that gets it blocked.
I was just hoping to get some info on the PHP settings to see if I can install Fork CMS on it. Here are the settings that are required:
Do you happen to know if these requirements will be met by x10 free hosting? or how I can find out?
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
1. Yup. 5.4 & 5.5.
2. Json, DOM, mb_string, PDO, gd (can't see 'gd2' but it would probably be it anyway), spl_types (if that counts as SPL). This was according to the PHP selection tool which allows you to turn on and off libraries to use, so I don't know about the rest, though they all should be there. It's worth a try!
3. Yup.
4. Yup.
 

dailytas

New Member
Messages
7
Reaction score
0
Points
1
One other thing: Do you know what other things will cause my files to come up as 403 errors (like using phpinfo)?
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
You can trigger the 403's by doing things such as submitting forms containing tags that could be rendered as code that would be rendered/executed by your browser or/and normal URL's (hopefully the URL rule thing isn't around). If that would end up being an issue then you can try requesting for those rules to be removed for your site.
You can get 404's for leaky scripts (like from bad MySQL queries) though this shouldn't be an issue as you're wanting to use a CMS normally rather than doing it from scratch (it could be an issue if you were coding an extension or adding on to the CMS, however).
 
Status
Not open for further replies.
Top