PHP not supported ?

Status
Not open for further replies.

atreiu

New Member
Messages
19
Reaction score
0
Points
0
I've a little problem, when we go onto a php page, it redirects me to hosting.x10hosting.com and the php isn't viewable. How can I fix it :confused: Thanks !
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Yes it is supported.
Do you have a url ( post it as something dot com/whatever dot php if you do not want it to show up on Google etc) that I can see the problem?
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Can you post the contents of your htaccess, please?

~Callum
 

atreiu

New Member
Messages
19
Reaction score
0
Points
0
I just started PHP, can you explain what's HTaccess and how can I create it ?

Thank you !
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
it is a file on the webserver. Its called .htaccess and it instructs apache to do certain things.

I looked, and the .htaccess in your atretech.fr.nf folder contains

RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://x10cossacks.x10hosting.com/cgi-sys/movingpage.cgi
RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://x10cossacks.x10hosting.com/cgi-sys/movingpage.cgi
I commented those out and your site appears to load just fine.
 

Anna

I am just me
Staff member
Messages
11,752
Reaction score
582
Points
113
I took a look at your .htaccess, and there was an error in it. The .htaccess was set to redirect to a page that is non-existent (leftover from migrations at some point), I removed that and that page does not redirect anymore now, however there's a syntax error.

Oops, seem me and masshuu took a look at the same time :) I did remove the two lines in the .htaccess though, as they should not have been there to begin with.
 
Last edited:

atreiu

New Member
Messages
19
Reaction score
0
Points
0
Thyou very much ! I'll learn more on the web of how to control HTaccess. Thank you very uch agaain =D
 
Status
Not open for further replies.
Top