Access forbidden for some files locally on xampp , Windows - xampp

I have a folder which with index.html in it, this works fine, and images inside it work fine, but when i link to other files like css or js files and try and read them i get this error...
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
Ive tried changing code in /conf/extra/httpd-xamp.conf
...
Order deny,allow
Deny from all
to
Deny From none
Allow from all
but no luck,
Any suggestions?

In the end this was to do with the files being encrypted, they were in green text on windows.
This had nothing to do with XAMPP.

Related

Internal Server Error: Laravel CentOs 7

I have uploaded my Laravel Project on the Server which CentOs 7.
But after migrating the project i got the Error as shown in following screenshot:
I have Clear the Cache, also allow the permission to storage folder and update the composer and i have tried Many Stuff in order to solve but unfortunately none of them work form me.
Your Effort will be appreciated.
Thanks,
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
This error response is a generic "catch-all" response. Sometimes, server administrators log error responses like the 500 status code with more details about the request to prevent the error from happening again in the future.
You can have problem in your code that server can not parse it.
You should enable .htaccess by adding this to your vhost:
Directory /var/www/html/yourfoldername
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Then disable SELinux permanently:
https://www.tecmint.com/disable-selinux-temporarily-permanently-in-centos-rhel-fedora/
Try to Fix 500 Internal Server Error: - change FollowSymLinks to SymLinksIfOwnerMatch in .htaccess files.

IIS 7.5 HTTP Error 401.2 - Unauthorized - Wierd

I have just set up a windows 2008 server and installed IIS on it.
The thing is while one web page working fine (2014.flptr.com) the other (www.flptr.com) is throwing above error. I triple checked they have same settings and they point to the same folder on the computer.
How come this may happen??
Any info appreciated!
THanks!
I changed the applicationHost.config file, replaced security information with the website's that is working. I guess it had something to do with IUSR account password.
THanks!

Object not found

I get this error when i open the address "http://localhost/phpmyadmin/"
Object not found!
The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404 localhost Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
How can i fix this?
I am using Windows 7 home basic and xampp for Windows .
You have to install phpMyAdmin first. See the phpMyAdmin website.

Access forbidden in Magento

Can you please help me,
i am trying to access the direct image file from the media/customer/ folder, but its saying something like
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
05/15/12 14:13:26
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Any help please !! I know, its not an error from xampp, its something from magento, please help me out
many thanks in advance
I venture to doubt, that this message is produced by Magento.
It exactly looks like the default xampp/apache/error/HTTP_FORBIDDEN.html.var of XAMPP:
Content-language: en
Content-type: text/html; charset=ISO-8859-1
Body:----------en--
<!--#set var="TITLE" value="Access forbidden!"
--><!--#include virtual="include/top.html" -->
<!--#if expr="$REDIRECT_URL = /\/$/" -->
You don't have permission to access the requested directory.
There is either no index document or the directory is read-protected.
<!--#else -->
You don't have permission to access the requested object.
It is either read-protected or not readable by the server.
<!--#endif -->
<!--#include virtual="include/bottom.html" -->
----------en--
Unfortunately you don't write anything about how your code tries to access the image.
Please post the relevant code parts.
And please find the proper 403 message in the Apache error_log and post it, too.
You should check your permissions settings in the media folder.
It looks like the directory where Magento is installed does not have permissions to access the Magento directory. This is an Apache error, not a Magento one.

Magento Access denied for user error

I decided to give a try to Magento. I have used my hosting providerĀ“s service Simple Scripts to install it in a subdomain. After succesfull install a have tried to go to home page but this error has occured:
SQLSTATE[00000] [1045] Access denied for user: 'testing_1303#10.10.29.3' (Using password: YES)
I have searched google but found nothing. I have checked my data in app/etc/local.xml file. host, user, password, dbname everything is OK. I also checked minimal requirements with magento script and a I have passed all requirements.
Do you have any sugestions?
One more clue: I have renamed local.xml file to force Magento to install again, but it does not start the instalation. My browser throw this error: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
SOLUTION:
And here is the solution with help of my hosting provider:
In the local.xml file put this as a host:
<host><![CDATA[127:0:0:1:/tmp/mysql50.sock]]></host>
This is almost definitely not an issue with Magento.
If you are sure your database credentials are correct then the problem probably lies in the fact that you are trying to connect to a non-local database server and the server does not allow remote connections.
SOLUTION: And here is the solution with help of my hosting provider: In the local.xml file put this as a host:
<host><![CDATA[127:0:0:1:/tmp/mysql50.sock]]></host>
Try emptying the var/ folder. Maybe it's a cache issue.

Resources