m1k3yb0y Posted March 14, 2012 Share Posted March 14, 2012 Hey admins, if I put this in the wrong forum, can you please move this to the right one? Thanks! Hey guys! I am trying to display a random image on my testing site. My image files are located in the following: F:/xampp/htdocs/xampp/justtryinoutsomephp/Images The reason I put in the "F" instead of "C" is because I am actually using the USB Lite version of xampp. Anyway, my images are not displaying because of this new so called "New Xampp Security Concept." I've been doing lots of researching and experimenting for a few days and it came to the point where I just said screw it and post this to the forum. On the error 403 page, it said: "Access forbidden! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file 'httpd-xampp.conf'. If you think this is a server error, please contact the webmaster." That's what I've been doing is tinkling with the "httpd-xampp.conf" file. On one of the forums, it said that you have to restart the xampp server in order for the changes to take effect. I actually went the simple and easy way and just turned off the server using the xampp off file and turned it back on using the xampp on file as well. Didn't work.....:-\ So what I am wondering now is is there a way to restart the xampp server without using the xampp off and xampp on files or what adjustments do I need to make in the config file? Thanks for your help and advice guys! Here's my config in case if anybody reqests it. # # New XAMPP security concept # # Close XAMPP security section here <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Allow from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> # Close XAMPP sites here <LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Allow from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> [\code] Quote Link to comment https://forums.phpfreaks.com/topic/258925-new-xampp-security-concept/ Share on other sites More sharing options...
trq Posted March 14, 2012 Share Posted March 14, 2012 Hey admins, if I put this in the wrong forum, can you please move this to the right one? Thanks! How about next time you have a look around for an appropriate board yourself? Your questions has nothing at all to do with php. Quote Link to comment https://forums.phpfreaks.com/topic/258925-new-xampp-security-concept/#findComment-1327451 Share on other sites More sharing options...
m1k3yb0y Posted March 15, 2012 Author Share Posted March 15, 2012 very well then.... Quote Link to comment https://forums.phpfreaks.com/topic/258925-new-xampp-security-concept/#findComment-1327697 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.