dd2 Posted August 23, 2006 Report Share Posted August 23, 2006 (edited) 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 August 23, 2006 by dd2 Link to comment Share on other sites More sharing options...
Delfins Posted August 23, 2006 Report Share Posted August 23, 2006 kas te nav skaidrs? Link to comment Share on other sites More sharing options...
dd2 Posted August 23, 2006 Author Report Share Posted August 23, 2006 (edited) 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 August 23, 2006 by dd2 Link to comment Share on other sites More sharing options...
Roze Posted August 23, 2006 Report Share Posted August 23, 2006 Uz windozes (ja nav advancētie ACL) nav nekādi chmod 755 tās ir linux faila permisijas (owner/group/others). Drīzāk jau paskaties vai tev httpd.conf ir AddHandler cgi-script .cgi Link to comment Share on other sites More sharing options...
dd2 Posted August 23, 2006 Author Report Share Posted August 23, 2006 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 More sharing options...
Delfins Posted August 24, 2006 Report Share Posted August 24, 2006 Ka tik uz windozes nebija jāliek iekš dir_path AllowExecCGI ....paskaties manuālī, 100p ka aprakstīts.. Link to comment Share on other sites More sharing options...
Recommended Posts