Forum Moderators: phranque

Message Too Old, No Replies

Trying to access web server from outside

Please help the newb!

         

gellis_65

6:10 pm on Sep 12, 2006 (gmt 0)

10+ Year Member



I downloaded apache 2.0 last weekend and had successful installation tests with it. I want to use the server to upload but can't get any response from it if I try to access from the outside. I tested my upload file at home buy using [localhost...] and the feed came in fine. Outside of home I am trying to access by browser window - address: [my...] IP address/folders in my webfolder structure/testfile.mpg.

Should this work? Do I have to change something in my configuration for this to work? I'm not sure what to try next.. Any ideas. Thanks in advance for any help.

gellis_65

10:58 pm on Sep 13, 2006 (gmt 0)

10+ Year Member



Ok, I can access the server now but it says I don't have permission to get into my web server directory(403 Forbidden). All firewalls have been disabled. Is there a default configuration in Apache that I have to change to allow access from another computer? Is it possible that I have to change security to my files or folders within windows(running Windows ME)? Someone please help me out. If this isn't the place for this type of question please let me know where I should direct my question too.. Help of almost any kind would be appreciated. Thanks.

jdMorgan

1:47 am on Sep 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> http://localhost/testfile.mpg and the feed came in fine. Outside of home I am trying to access by browser window - address: http://my IP address/folders in my webfolder structure/testfile.mpg

Your Web URL should not differ from your local URL, except for the "localhost" part. The "Web" address of your localhost example URL above should be: http://my IP address//testfile.mpg -- It should not contain the "folders in my webfolder structure" part at all. If your DocumentRoot directive is configured correctly in the httpd.conf file, the "folders in my webfolder structure" part of the path is already taken care of. Furthermore, it should be impossible to request a URL using HTTP that references files "above" the DocumentRoot level of your directory structure; The filespace above your defined DocumentRoot does not exist as far as the Web is concerned, and that's good if you think about security. :)

Jim

gellis_65

4:04 pm on Sep 18, 2006 (gmt 0)

10+ Year Member



Oh, I see. It looks like I was making things a little more complicated than they needed to be. Thanks Jim.

Jerry