Jump to content
php.lv forumi

CHMOD 755,


dd2

Recommended Posts

Labdien, radusies propka, ar šo CHMOD failu -Pielāgot manam failam, palasiet to rindiņu lejā, kur man prasa lai izlaboju , atļaujas saņemšanai. IR kādas idejas kas man apach +php+mysql failiem jālabo, lai source nemestu šadu error , "Sakot ka man nav atļauta pieeja"

 

"CHMOD the file to at least 755 so that the web server grants permissions to access and execute it"

 

uz severa atrodas viens fails- "fails.cgi"

 

Viss tika sabīdīts uz os xp!

 

Varbūt ir kāda proga, kautko sabīdīt uz pc:)!

Edited by dd2
Link to comment
Share on other sites

kas te nav skaidrs?

Nutāda ka mans apach serveris vnk neatver manu failu - fails.cgi

izmetot caur browseri šādu error

"Forbidden

You don't have permission to access /sads.cgi on this server."

 

=P

Edited by dd2
Link to comment
Share on other sites

IR Ir, man tāda lieta tur: izgriezu nelielu paraugu no vidus tam failam.

 

#

# AddType allows you to tweak mime.types without actually editing it, or to

# make certain files to be certain types.

#

AddType application/x-tar .tgz

AddType image/x-icon .ico

AddType application/vnd.wap.wmlc .wmlc

AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php .php2 .inc

AddType text/vnd.wap.wml .wml

AddType text/vnd.wap.wmlscript .wmls

AddType text/vnd.wap.wmlscriptc .wmlsc

AddType image/vnd.wap.wbmp .wbmp

 

#

# AddHandler allows you to map certain file extensions to "handlers",

# actions unrelated to filetype. These can be either built into the server

# or added with the Action command (see below)

#

# If you want to use server side includes, or CGI outside

# ScriptAliased directories, uncomment the following lines.

#

# To use CGI scripts:

#

AddHandler cgi-script .cgi

 

#

# To use server-parsed HTML files

#

AddType text/html .shtml

AddHandler server-parsed .shtml

 

#

# Uncomment the following line to enable Apache's send-asis HTTP file

# feature

#

#AddHandler send-as-is asis

 

#

# If you wish to use server-parsed imagemap files, use

#

#AddHandler imap-file map

 

#

# To enable type maps, you might want to use

#

#AddHandler type-map var

 

</IfModule>

# End of document types.

Link to comment
Share on other sites

×
×
  • Create New...