473,385 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

403 forbidden error

Hi Guys

I am getting an error in php.

403 forbidden error when i try to view my picture kept in a folder e.g
www.neuronsoftsols.com/upload/75/johal1.bmp comes an error 403 forbidden?

I cant resolve the error?

Help me out ! ! !
Nov 19 '08 #1
8 2094
Dormilich
8,658 Expert Mod 8TB
you should check the file permissions. that should give you a clue.

regards
Nov 19 '08 #2
Well during uploading i had given all the permission like 0777 or 0755or 0775.

I can open only .php file .


No other Format is opening.

Waiting for your reply

Regards
Nov 20 '08 #3
Dormilich
8,658 Expert Mod 8TB
maybe there's a .htaccess file that prevents file access. as for the file permissions, do the files still have the permissions set by you?

regards
Nov 20 '08 #4

well i can't find the .htaccess on my server where i have uploaded the files ??


please tell me the exact path ?

Regards
Nov 20 '08 #5
Dormilich
8,658 Expert Mod 8TB
it was the only possibility I know besides file permission. bear in mind that on a posix server filenames with a leading dot are system files and thus invisible per default. still you can ask your server admin about system wide settings (like access permission). It could be possible that you can find additional info in the httpd.conf (apache server config file) (dont know how it is on IIS) though none but the server admin (and root) has read (write) permission there.

regards

PS: a .htaccess file affects all files in the current and below directories, you may have to look in the directories above your files.
Nov 20 '08 #6
I appreciate your advice , Actually I have taken the Web hosting From Yahoo small business site i.e. www.smallbusiness.yahoo.com and i am new to it. When i open its Control Panel , Manage sites is an option where i can see my folders.
Only those Folders are displacing which i had used in my sites.



I had seen many times where i can find the .htaccess but in vain.

I still don't don't know whch server i am using for my php.

I had used phpinfo() to get the information , but i am not getting the server name ?



I cant understand why .php files if i upload can be seen in POP UP WINDOW using Javascript But if i try to open any other format i cant open



Help me out in solving this problem.
Nov 20 '08 #7
pbmods
5,821 Expert 4TB
Heya, amitverma60.

Are you running Apache or IIS?
Nov 21 '08 #8
I find that it is easy for permissions to become corrupted; do a
Expand|Select|Wrap|Line Numbers
  1. CHMOD  -R 777
(or 775) on your upload folder
Nov 21 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
0
by: Layne L via DotNetMonster.com | last post by:
Trying to install a .NET application on a Windows 2003 Server ( .NET v1.1) and for any . aspx file get the following error: 403.1 Forbidden: Execute Access Forbidden The application has...
1
by: DotNetter | last post by:
I have two computers. Both computers have Windows 2003 installed as well as Visual Studio.Net 2003 installed. Computer A has active directory set and also has .Net and the webservice called...
8
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all...
4
by: Ollie | last post by:
I have wrriten a reverse proxy for a client of mine, this reverse proxy takes the url takes it attempt to access a *.XXXX and returns the the contents of an aspx web page from another internal...
2
by: edsuslen | last post by:
I am migrating working code (HTTPRequest with Authentication) from vb to vb.net vb: Set objXMLHTTPServer = New MSXML2.XMLHTTP30 objXMLHTTPServer.Open strMethod, strGetRequest, False, "UserId",...
2
by: Edward Low | last post by:
Hi all, When creating a virtual directory in IIS 5.0 win xp Pro with the name like "abc.com", an error HTTP 403.1 Forbidden: Execute Access Forbidden will return when accessing the web page. But,...
0
by: Geoff Murley | last post by:
I am trying to test a simple Web Service and when I invoke a Web Method that returns a Dataset I get: Path 'POST' is forbidden. Description: An unhandled exception occurred during the...
1
by: PK9 | last post by:
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.