no access

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gecko
Forum Commoner
Posts: 34
Joined: Thu Oct 24, 2002 3:45 am

no access

Post by gecko »

within a local network i am trying to upload a file from my computer to an other computer on which i have windows2000/apache/php running. i am getting the following message when trying to upload the file:

Forbidden
You don't have permission to access /images_2/< on this server.
--------------------------------------------------------------------------------

Apache/1.3.27 Server at localhost Port 80

any ideas what i can do to actually get access.

thanks hansie
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Check which user you are running as (if it's from the web then that's probably I_USR_yourcomputername) and give that user the rights to write to the required folder.

Mac
gecko
Forum Commoner
Posts: 34
Joined: Thu Oct 24, 2002 3:45 am

no access

Post by gecko »

i am working in a local network so i assume that mycomputername is the
user that i am running as. where however can i grant access for this user to upload files to a directory under apache. any ideas.

thanks

hansie
gecko
Forum Commoner
Posts: 34
Joined: Thu Oct 24, 2002 3:45 am

no access

Post by gecko »

this is what i actually get in my apache error log: Filename is not valid: c:/apache/htdocs/images_2/<
seg
Forum Commoner
Posts: 38
Joined: Thu Oct 31, 2002 12:08 pm
Location: Northern, VA
Contact:

Post by seg »

Prehaps I'm missing something here, but the fact remains that "<" is not a valid character for a directory or filename.
gecko
Forum Commoner
Posts: 34
Joined: Thu Oct 24, 2002 3:45 am

no access

Post by gecko »

i know, but do you know what the strange things is. if i test the file on a domain which is run by my provider (so outside of my network), there is no hassle. it works fine. this is however apache running on unix. strange isn't it. i am a bit lost here.

hansie
seg
Forum Commoner
Posts: 38
Joined: Thu Oct 31, 2002 12:08 pm
Location: Northern, VA
Contact:

Re: no access

Post by seg »

well if the problem is the "<" character then that would make sence. *nix is much more tollerant of things like that, especially Apache. My advice, choose an alphanumeric character.
oldtimer
Forum Contributor
Posts: 204
Joined: Sun Nov 03, 2002 8:21 pm
Location: Washington State

Post by oldtimer »

If that still does not do it you may need to make sure that your do have the permissions to upload. 2k can very picky. I love using it for a work stations but making sure everyone can access can be a chore sometimes.
Post Reply