Zugang verboten! Windows 10 PHP XAMPPPhp

PHP-Programmierer chatten hier
Anonymous
 Zugang verboten! Windows 10 PHP XAMPP

Post by Anonymous »

Plötzlich bekam ich diesen Fehler, als ich versuchte, mein Formular einzureichen. Bis jetzt hat es gut funktioniert. Es ist entweder
vom Server geschützt oder nicht lesbar. P h p / 7 . 1 . 1 < / p > < b r / > < / b l o c k q u o t e > < b r / > < b r / > B e r e i t s v e r s u c h t < b r / > x a m p p A c c e s s F o r b i d d e n P h p < b r a / > < c o d e > # < b r / > # X A M P P s e t t i n g s < b r / > # < b r / > < b r / > & l t ; I f M o d u l e e n v _ m o d u l e & g t ; < b r / > S e t E n v M I B D I R S " C : / x a m p p / p h p / e x t r a s / m i b s " < b r / > S e t E n v M Y S Q L _ H O M E " \ \ x a m p p \ \ m y s q l \ \ b i n " < b r / > S e t E n v O P E N S S L _ C O N F " C : / x a m p p / a p a c h e / b i n / o p e n s s l . c n f " < b r / > S e t E n v P H P _ P E A R _ S Y S C O N F _ D I R " \ \ x a m p p \ \ p h p " < b r / > S e t E n v P H P R C " \ \ x a m p p \ \ p h p " < b r / > S e t E n v T M P " \ \ x a m p p \ \ t m p " < b r / > & l t ; / I f M o d u l e & g t ; < b r / > < b r / > # < b r / > # P H P - M o d u l e s e t u p < b r / > # < b r / > L o a d F i l e " C : / x a m p p / p h p / p h p 7 t s . d l l " < b r / > L o a d F i l e " C : / x a m p p / p h p / l i b p q . d l l " < b r / > L o a d M o d u l e p h p 7 _ m o d u l e " C : / x a m p p / p h p / p h p 7 a p a c h e 2 _ 4 . d l l " < b r / > < b r / > & l t ; F i l e s M a t c h " \ . p h p $ " & g t ; < b r / > S e t H a n d l e r a p p l i c a t i o n / x - h t t p d - p h p < b r / > & l t ; / F i l e s M a t c h & g t ; < b r / > & l t ; F i l e s M a t c h " \ . p h p s $ " & g t ; < b r / > S e t H a n d l e r a p p l i c a t i o n / x - h t t p d - p h p - s o u r c e < b r / > & l t ; / F i l e s M a t c h & g t ; < b r / > < b r / > # < b r / > # P H P - C G I s e t u p < b r / > # < b r / > # & l t ; F i l e s M a t c h " \ . p h p $ " & g t ; < b r / > # S e t H a n d l e r a p p l i c a t i o n / x - h t t p d - p h p - c g i < b r / > # & l t ; / F i l e s M a t c h & g t ; < b r / > # & l t ; I f M o d u l e a c t i o n s _ m o d u l e & g t ; < b r / > # A c t i o n a p p l i c a t i o n / x - h t t p d - p h p - c g i " / p h p - c g i / p h p - c g i . e x e " < b r / > # & l t ; / I f M o d u l e & g t ; < b r / > < b r / > < b r / > & l t ; I f M o d u l e p h p 7 _ m o d u l e & g t ; < b r / > P H P I N I D i r " C : / x a m p p / p h p " < b r / > & l t ; / I f M o d u l e & g t ; < b r / > < b r / > & l t ; I f M o d u l e m i m e _ m o d u l e & g t ; < b r / > A d d T y p e t e x t / h t m l . p h p . p h p s < b r / > & l t ; / I f M o d u l e & g t ; < b r / > < b r / > S c r i p t A l i a s / p h p - c g i / " C : / x a m p p / p h p / " < b r / > & l t ; D i r e c t o r y " C : / x a m p p / p h p " & g t ; < b r / > O p t i o n s I n d e x e s F o l l o w S y m L i n k s I n c l u d e s E x e c C G I < b r / > A l l o w O v e r r i d e N o n e < b r / > O p t i o n s N o n e < b r / > R e q u i r e a l l g r a n t e d < b r / > O r d e r A l l o w , D e n y < b r / > A l l o w f r o m A l l < b r / > & l t ; F i l e s "php-cgi.exe">
Require all granted





SetHandler cgi-script


SetHandler None






php_admin_flag safe_mode off


AllowOverride AuthConfig



Alias /licenses "C:/xampp/licenses/"

Options +Indexes

DirectoryIndexTextColor "#000000"
DirectoryIndexBGColor "#f8e8a0"
DirectoryIndexLinkColor "#bb3902"
DirectoryIndexVLinkColor "#bb3902"
DirectoryIndexALinkColor "#bb3902"

Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Alias /phpmyadmin "C:/xampp/phpMyAdmin/"

AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Alias /webalizer "C:/xampp/webalizer/"



php_admin_flag safe_mode off


AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var




Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted



AddType text/html .php .phps


ScriptAlias /php-cgi/ "C:/xampp/php/"

Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride None
Options None
Require all granted
Order Allow,Deny
Allow from All

Require all granted





SetHandler cgi-script


SetHandler None






php_admin_flag safe_mode off


AllowOverride AuthConfig



Alias /licenses "C:/xampp/licenses/"

Options +Indexes

DirectoryIndexTextColor "#000000"
DirectoryIndexBGColor "#f8e8a0"
DirectoryIndexLinkColor "#bb3902"
DirectoryIndexVLinkColor "#bb3902"
DirectoryIndexALinkColor "#bb3902"

Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Alias /phpmyadmin "C:/xampp/phpMyAdmin/"

AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Alias /webalizer "C:/xampp/webalizer/"



php_admin_flag safe_mode off


AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var




Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted

< /code>

Änderungen, die ich vorgenommen habe: < /p>

Code: Select all

Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride None
Options None
Require all granted
Order Allow,Deny
Allow from All

Require all granted




Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted

< /code>

Mein htttpd-vhosts ohne Änderungen < /p>

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# 
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any  block.
#
##
##ServerAdmin [email protected]
##DocumentRoot "C:/xampp/htdocs/dummy-host.example.com"
##ServerName dummy-host.example.com
##ServerAlias www.dummy-host.example.com
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common
##

##
##ServerAdmin [email protected]
##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common
##

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post