Тёмный
MrTech302
MrTech302
MrTech302
Подписаться
XAMPP ERROR 403 ACCESS FORBIDDEN FIX
2:45
12 лет назад
Комментарии
@arthuralunts5424
@arthuralunts5424 2 года назад
What I gonna wrong to do? In that file no such information... !!
@cyberhifi2629
@cyberhifi2629 3 года назад
Thankyou 😁😁
@johairhaque1711
@johairhaque1711 3 года назад
kindly help after uploading my localhost file in 000webhost getting this error Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
@luizgustavomeloxavier2535
@luizgustavomeloxavier2535 4 года назад
Worked for me (Year: 2020)
@johnmccgarry2692
@johnmccgarry2692 4 года назад
A nice ans straight forward tutorials. Thanks for your time
@deanlett9683
@deanlett9683 5 лет назад
Adobe reader can't open the 'httpd-xampp.conf' because it is either not a supported file type, or the file has been damaged (for example it was sent as an e-mail attachment and wasn't correctly decoded).
@PatrickBallEnlightened
@PatrickBallEnlightened 6 лет назад
Thank for the tutorial. I am just learning how to setup Linux and apache and really enjoyed the way you presented this tutorial. It was given so that a linux and apache novice could understand how to add a virtual host. Thanks again!!!
@scienceblossom6197
@scienceblossom6197 6 лет назад
Add something like this at the bottom of your httpd.conf file: <VirtualHost 127.0.0.1:80> ServerName testproject.local DocumentRoot "C:\dev\workspace\web\testproject\public" </VirtualHost> <Directory "C:\dev\workspace\web\testproject\public"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all Require all granted </Directory>
@mamangboi9303
@mamangboi9303 6 лет назад
i cant . in my bottom just Alias /phpmyadmin "F:/xampp/phpMyAdmin/" <Directory "F:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /webalizer "F:/xampp/webalizer/" <Directory "F:/xampp/webalizer"> <IfModule php7_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> </IfModule> theree is no deny to be allow
@ganeshs6897
@ganeshs6897 6 лет назад
Same coz some codes are.differnt.for me
@da-melmelton3053
@da-melmelton3053 6 лет назад
What if you dont have httpd-xampp.conf file
@davisd200228
@davisd200228 6 лет назад
Esta es la solución <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require all granted ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory>
@merzoug2020
@merzoug2020 7 лет назад
i dont have this lins in my paremeter ? how to do
@dragoljubbrajovic9337
@dragoljubbrajovic9337 7 лет назад
Thank you
@takkun1025
@takkun1025 7 лет назад
Fixed for Newest code # # XAMPP settings # <IfModule env_module> SetEnv MIBDIRS "C:/xampp/php/extras/mibs" SetEnv MYSQL_HOME "\\xampp\\mysql\\bin" SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf" SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php" SetEnv PHPRC "\\xampp\\php" SetEnv TMP "\\xampp\\tmp" </IfModule> # # PHP-Module setup # LoadFile "C:/xampp/php/php7ts.dll" LoadFile "C:/xampp/php/libpq.dll" LoadModule php7_module "C:/xampp/php/php7apache2_4.dll" <FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> # # PHP-CGI setup # #<FilesMatch "\.php$"> # SetHandler application/x-httpd-php-cgi #</FilesMatch> #<IfModule actions_module> # Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe" #</IfModule> <IfModule php7_module> PHPINIDir "C:/xampp/php" </IfModule> <IfModule mime_module> AddType text/html .php .phps </IfModule> ScriptAlias /php-cgi/ "C:/xampp/php/" <Directory "C:/xampp/php"> AllowOverride None Options None Require all denied <Files "php-cgi.exe"> Require all granted </Files> </Directory> <Directory "C:/xampp/cgi-bin"> <FilesMatch "\.php$"> SetHandler cgi-script </FilesMatch> <FilesMatch "\.phps$"> SetHandler None </FilesMatch> </Directory> <Directory "C:/xampp/htdocs/xampp"> <IfModule php7_module> <Files "status.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig </Directory> <IfModule alias_module> Alias /licenses "C:/xampp/licenses/" <Directory "C:/xampp/licenses"> Options +Indexes <IfModule autoindex_color_module> DirectoryIndexTextColor "#000000" DirectoryIndexBGColor "#f8e8a0" DirectoryIndexLinkColor "#bb3902" DirectoryIndexVLinkColor "#bb3902" DirectoryIndexALinkColor "#bb3902" </IfModule> Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig #Require local Require all granted ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /webalizer "C:/xampp/webalizer/" <Directory "C:/xampp/webalizer"> <IfModule php7_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig #Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> </IfModule>
@MultiCedrick09
@MultiCedrick09 7 лет назад
I can't' din dat
@joemarilina7197
@joemarilina7197 8 лет назад
Please help me ? bro my xammp is broken 8:58:42 PM [Apache] Error: Apache shutdown unexpectedly. 8:58:42 PM [Apache] This may be due to a blocked port, missing dependencies, 8:58:42 PM [Apache] improper privileges, a crash, or a shutdown by another method. 8:58:42 PM [Apache] Press the Logs button to view error logs and check 8:58:42 PM [Apache] the Windows Event Viewer for more clues 8:58:42 PM [Apache] If you need more help, copy and post this 8:58:42 PM [Apache] entire log window on the forums
@AlizaKhan-tc2gz
@AlizaKhan-tc2gz 8 лет назад
hi but my file code is different ========================================================================= CODE: ========================================================================= # # XAMPP settings # <IfModule env_module> SetEnv MIBDIRS "C:/xampp/php/extras/mibs" SetEnv MYSQL_HOME "\\xampp\\mysql\\bin" SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf" SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php" SetEnv PHPRC "\\xampp\\php" SetEnv TMP "\\xampp\\tmp" </IfModule> # # PHP-Module setup # LoadFile "C:/xampp/php/php5ts.dll" LoadFile "C:/xampp/php/libpq.dll" LoadModule php5_module "C:/xampp/php/php5apache2_4.dll" <FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> # # PHP-CGI setup # #<FilesMatch "\.php$"> # SetHandler application/x-httpd-php-cgi #</FilesMatch> #<IfModule actions_module> # Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe" #</IfModule> <IfModule php5_module> PHPINIDir "C:/xampp/php" </IfModule> <IfModule mime_module> AddType text/html .php .phps </IfModule> ScriptAlias /php-cgi/ "C:/xampp/php/" <Directory "C:/xampp/php"> AllowOverride None Options None Require all denied <Files "php-cgi.exe"> Require all granted </Files> </Directory> <Directory "C:/xampp/cgi-bin"> <FilesMatch "\.php$"> SetHandler cgi-script </FilesMatch> <FilesMatch "\.phps$"> SetHandler None </FilesMatch> </Directory> <Directory "C:/xampp/htdocs/xampp"> <IfModule php5_module> <Files "status.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig </Directory> <IfModule alias_module> Alias /licenses "C:/xampp/licenses/" <Directory "C:/xampp/licenses"> Options +Indexes <IfModule autoindex_color_module> DirectoryIndexTextColor "#000000" DirectoryIndexBGColor "#f8e8a0" DirectoryIndexLinkColor "#bb3902" DirectoryIndexVLinkColor "#bb3902" DirectoryIndexALinkColor "#bb3902" </IfModule> Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> Alias /webalizer "C:/xampp/webalizer/" <Directory "C:/xampp/webalizer"> <IfModule php5_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> </IfModule>
@SaurabhGuptaYT
@SaurabhGuptaYT 8 лет назад
same case, do you find any soln
@HendraNurdiyanto
@HendraNurdiyanto 8 лет назад
I agree, somehow most of the line changes ... besides, this video was created 3 years ago. anyone have an idea to deal with the present new conf ?
@alicoolman1xx
@alicoolman1xx 8 лет назад
Same
@setyokovic7534
@setyokovic7534 8 лет назад
THANK YOU VERY MUCH...
@sonuprajapati260
@sonuprajapati260 8 лет назад
Thank its work
@sammerbrandaoduarte6170
@sammerbrandaoduarte6170 8 лет назад
thanks
@JuhiDavda
@JuhiDavda 8 лет назад
thanks :) worked for me.
@carlojacalan3754
@carlojacalan3754 8 лет назад
You saved my life!
@sohkka
@sohkka 8 лет назад
Doest work for me, now my apache don't start
@lolzaaja3550
@lolzaaja3550 8 лет назад
how fuck you get the one bage!?
@LTdevil9
@LTdevil9 9 лет назад
My last 4 lines contained <LocationMatch> and within it a line Require local If you have same lines you should change it to Require local granted
@nerisonpitogo3314
@nerisonpitogo3314 8 лет назад
+Lukas Tutkus yes I have these lines bro but did not solve my problem. I changed it to Require local granted then restart the apache but to no avail. :(
@lorenzlavilla6170
@lorenzlavilla6170 6 лет назад
Remove the require local and copy what is in the video.
@mikepropst8001
@mikepropst8001 9 лет назад
Thanks man. This works for AMPPS too - it does the same thing with its initial apache settings and it was driving me bonkers.
@gokukakarot9983
@gokukakarot9983 9 лет назад
TTTTTTTTTTHHHHHHHHHHHHAAAAANNNNNKKKKKKKKKKKKK UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU!!!!!! (THANK YOU!)
@taskerko
@taskerko 9 лет назад
Thanks Man :)
@nedbately7392
@nedbately7392 9 лет назад
This kind of thing should have to happen. They say it's easy...but it's not. After installation you have to search all over the net to find solutions to these stupid problems. It should just friggin work.
@weini2521
@weini2521 9 лет назад
OMG THANK U SOO SOOO MUCH MY SERVER WOULD HAVE FAILED IF IT WASN"T FOR U. THX
@FernandoBruno2024
@FernandoBruno2024 9 лет назад
So ty dude.
@pstlvictoras
@pstlvictoras 10 лет назад
very useful!thanks a lot:D
@jonasdelposo8557
@jonasdelposo8557 10 лет назад
:( Not Worked WTF
@zonegraphique
@zonegraphique 10 лет назад
Verry good tutorial, that solved my problem after a couple of days in research Thank you verry much ;)
@cordi3000
@cordi3000 10 лет назад
i dont find the xammp file please reply!!!!
@sbgam5891
@sbgam5891 10 лет назад
:(
@felipebuitrago75
@felipebuitrago75 10 лет назад
Excelente amigo Muchisimas gracias ------------------------------------------- excellent friend Thank you so much
@letsasjim7962
@letsasjim7962 10 лет назад
YEah man....thanx you are very usefull....make more videos :P :D
@micahglenz1354
@micahglenz1354 10 лет назад
Awesome!!!! Thanks
@froople
@froople 10 лет назад
Perfect! Thank you.
@budthapa
@budthapa 10 лет назад
Thanks. It Helped me.
@wwl777
@wwl777 10 лет назад
The normal directory works, but after changing the htdocs to my dropbox directory I got the 403 error. This fix didnt work for me.
@0xbitbybit
@0xbitbybit 10 лет назад
absolutely no different whatsoever, had zero effect and problem is still the same.
@kristinayordanova365
@kristinayordanova365 5 лет назад
same here :/
@jarosawgoszowski4222
@jarosawgoszowski4222 10 лет назад
Nie działa niestety
@jorgem3205
@jorgem3205 10 лет назад
SPANISH PLEASE
@SkittlezPlaysMC
@SkittlezPlaysMC 10 лет назад
How do you open the Xampp control thing
@dspot66
@dspot66 11 лет назад
thnx
@mehboobumt
@mehboobumt 11 лет назад
"localhost/" is not working! "localhost/bugzilla" is not working BUT "localhost/phpmyadmin" is working :) I don't understand the problem ?
@Strikerheaven
@Strikerheaven 11 лет назад
Thanks alot mate. Yet i still get the error 403. I´m using Simplesamlphp and i think there might be something set up wrong.