Bugzilla / Apache / Windows, "Sie haben keine Berechtigung zum Zugriff auf / auf diesem Server."

2494
joe7pak

Auf 64-Bit-Windows Server 2008 R2 versuche ich, Bugzilla zu installieren. MySQL 5.6, Apache 2.4, Perl 5.20 und Bugzilla 4.4.9+, 64-Bit-Versionen, sind überall installiert. Ich habe den Bugzilla-Schritt, bei dem Sie anrufen checksetup.pl, erfolgreich abgeschlossen. Dies ist das Ende der Installation.

Wenn ich zu meinem Browser (Firefox) gehe und tippe http://localhost/, bekomme ich eine 403 - FORBIDDEN You don't have permission to access / on this server.. Ich stellte sicher, dass meine Hosts-Datei einen Eintrag für 'localhost' hatte. Ich füge hier die letzte Zeile aus meinem BugZilla-Fehlerprotokoll, meine httpd.conf und die generierte 'localconfig'-Datei ein, wenn checksetup.pl ausgeführt wird. Es muss etwas Kleines / Dummes sein, aber ich bin nicht erfahren genug, um zu wissen, was das wäre. Lass es mich wissen, wenn du sonst noch etwas brauchst.

Vielen Dank.

Fehlerprotokoll:

[Fri Jun 19 09: 52: 29.071794 2015] [authz_core: error] [pid 3392: tid 1156] >> [client :: 1: 35188] AH01630: Client durch Serverkonfiguration abgelehnt: D: / Apache24 / htdocs /

httpd.conf:

Define SRVROOT "/Apache24" ServerRoot "$"  Listen 80  LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule allowmethods_module modules/mod_allowmethods.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_core_module modules/mod_authn_core.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authz_core_module modules/mod_authz_core.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule include_module modules/mod_include.so LoadModule info_module modules/mod_info.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule socache_shmcb_module modules/mod_socache_shmcb.so LoadModule ssl_module modules/mod_ssl.so LoadModule status_module modules/mod_status.so  <IfModule unixd_module> User daemon Group daemon  </IfModule>  ServerAdmin bgraham@amci-wireless.com  ServerName localhost:80  <Directory /> AllowOverride none Require all denied </Directory> DocumentRoot "D:/Bugzilla" <Directory "D:/Bugzilla">  ScriptInterpreterSource Registry-Strict Options +ExecCGI +FollowSymLinks DirectoryIndex index.cgi index.html AllowOverride Limit FileInfo Indexes Options  </Directory>  <IfModule dir_module> DirectoryIndex index.html </IfModule>  <Files ".ht*"> Require all denied </Files>  ErrorLog "logs/error.log"  LogLevel warn  <IfModule log_config_module> LogFormat "%h %l %u %t \"%m %U\" %>s %b \"%i\" \"%i\"" combined  LogFormat "%h %l %u %t \"%r\" %>s %b" common  <IfModule logio_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%i\" \"%i\" %I %O" combinedio </IfModule>  CustomLog "logs/access.log" common  </IfModule>  <IfModule alias_module> ScriptAlias /cgi-bin/ "$/cgi-bin/"  </IfModule>  <IfModule cgid_module> </IfModule>  <Directory "$/cgi-bin"> AllowOverride None Options None Require all granted </Directory>  <IfModule mime_module> TypesConfig conf/mime.types  AddType application/x-compress .Z AddType application/x-gzip .gz .tgz  AddHandler cgi-script .cgi .pl  </IfModule>  Include conf/extra/httpd-autoindex.conf Include conf/extra/httpd-info.conf  Include conf/extra/httpd-vhosts.conf  <IfModule proxy_html_module> Include conf/extra/proxy-html.conf </IfModule>  <IfModule ssl_module> Include conf/extra/httpd-ahssl.conf SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> 

LocalConf

$create_htaccess = 1; $webservergroup = ''; $use_suexec = 0; $db_driver = 'mysql'; $db_host = 'localhost'; $db_name = 'bugs'; $db_user = 'bugs'; $db_pass = 'xxxx'; $db_port = 0; $db_sock = ''; $db_check = 1; $index_html = 0; $cvsbin = ''; $interdiffbin = ''; $diffpath = '.'; $site_wide_secret = 'xxx'; 
0
Dieser Link auf StackOverflow hat die Standardseite, die angezeigt wird: [link] (http://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this- Server) Die Schlüsselphrase lautete "Alle anfordern". Ich muss zugeben, dass ich einige Bedenken habe, aber die Seite muss hochgehen. joe7pak vor 8 Jahren 0

1 Antwort auf die Frage

0
joe7pak

Letztendlich bestand die Antwort darin, "Require all allow" im Block "Directory /" der Datei httpd.conf zu platzieren. (Ich habe keine Ahnung, wie man HTML in "Markdown" zitieren kann ... konnte es nicht herausfinden.) Bitte sehen Sie den Kommentar oben für einen Link zu einem StackOverflow-Eintrag, in dem dieser Hashing-Vorgang ausgeführt wurde.