chmod issue

Started on the old forum in June 2011 · view the original in the archive · old links redirect here

5 replies · 404 views · started 15 years ago · 1 min read

4 participants
MadHatter Junior · 14 posts #1

hi peeps just need some sugestions as to what i can do here im working on a script that has a uploader the folder the files are uploaded 2 has to be set at chmod 777. files are uploaded but cant be viewd as the server says Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Now bare in mind the file had been uploaded successfully. if perms are set to 755 can view the files but then the uploader wont move the file. if anybody can shed some light on an alternative solution id appreciate it. please also note i tried 744 as well as an option it didnt like it also note the sever is using plesk and is unix

MadHatter Junior · 14 posts #2

just letting peeps know i resolved this issue. with using htaccess and the following

<Files ^(*.jpeg|*.mp3|*.mp4|*.zip|*.rar|*.sis|*.jar|*.apk|*.jad|*.xsisx|*.jpg|*.png|*.gif)>
   order deny,allow
   deny from all
</Files>
leadiztah Developer · 55 posts #4

ksg91 is correct,, check your .htaccess inside that folder where the php is.. delete it or modify it

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close