folder named "php" not publicly accessible

Status
Not open for further replies.

posidyn

Member
Messages
65
Reaction score
0
Points
6
Hello everyone.

I have just noticed that I cannot access php files via HTTP if it was placed in my php directory.

Is x10hosting free hosting set up in such a way that all directories called "php" are automatically blocked from public access?

I did not have a .htaccess file in it.

When I created another directory called "ophp", I could access the files fine.

Thank you.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
root@web3 [/home/yourcpanelnamewuzhere/www/php]# ls
./ ../ .htaccess catlinks.php footer.php getFile.php include/

There is indeed a .htaccess in there.

Code:
IndexIgnore */*

<Files "*.*">
order deny,allow
deny from all
</Files>
^ that's what's in it, and also why it's blocking everything.
 

posidyn

Member
Messages
65
Reaction score
0
Points
6
Hello.

I placed the .htaccess into that directory after posting the question because I was not sure whether the access block was a temporary thing or not.

Today access is working.

Thanks for your help. I will get things sorted from here on.
 
Status
Not open for further replies.
Top