|
-
Jul 6th, 2003, 04:38 AM
#1
Thread Starter
Hyperactive Member
disable php in one folder
How can I disable php in one folder. I mean my web site support php and i create new folder on my site and i want to upload php files to this folder but no one can run it at all.
-
Jul 8th, 2003, 03:38 PM
#2
Stuck in the 80s
I don't think it's possible, and what would be the point? Maybe if you explain the problem, we can help you find a better solution.
-
Jul 8th, 2003, 05:35 PM
#3
Thread Starter
Hyperactive Member
I found the solve
to do that create file its name .htaccess and put this line in it:
AddType text/plain .php
then upload this file to folder
-
Jul 8th, 2003, 09:43 PM
#4
Stuck in the 80s
Ah, I never think of things like that.
-
Jul 8th, 2003, 11:47 PM
#5
What exactly is the .htaccess file for? I've seen it around, but never bothered understanding why it was there.
-
Jul 9th, 2003, 02:30 AM
#6
Stuck in the 80s
Originally posted by mendhak
What exactly is the .htaccess file for? I've seen it around, but never bothered understanding why it was there.
Pretty good explaination: http://apache-server.com/tutorials/A...-htaccess.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|