Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey I need a bit of help. I'm running Ubuntu. I have a DSL connection to my router, and then router to ubuntu with a static IP. I have two problems. I have a 8gb secondary drive in my PC, that is FAT32 and mounted to /webserver. I want to have all my webserver files in there for my website. In httpd.conf though, when I change the directory from /var/www to /webserver I have some trouble. When I try to access the site in a browser it says forbidden you do not have permission to access index.html. I know it's something with permissions but I'm not quite sure how to set them so that my user leemoreau can put files in there and it will be visible online.
Secondly, I use zoneedit for dynamic dns update. It updates my IP fine, but when I go to my IP or domain in a web browser, it goes to my DSL modem configuration page. I've turned on port forwarding in the router to forward port 80 traffic to my ip 192.168.3.103 on my ubuntu box but it doesn't seem to work. Is this something with apache or my router or? Thanks so much!
I can't be of much help,but since no one else answered I will try,see if this helps; http://www.dslwebserver.com/main/fr_...ing-range.html
For the appache stuff,did you create the apache group?Are you using apache or apache2?good luck
Hey I'm using apache 1.3 I believe. I don't think I set any group for it not really sure how.. I tried that guide still doesn't work. I don't think it's a problem with port forwarding because I've always used apache in Windows and it's worked fine. It's just weird that it keeps showing my DSL modem configuration page so something isn't right... :S
Look under /etc/ Do you see apache2 there,I think you have apache2 not sure,
apache and apache2 set up a little different.I'm using apache2,I have it working,but you do have to set it up as the defaults are very secure,I guess unlike windows,I really don't know have not used windows,except a little at work.I'm no expert but we should be able to get it working on your LAN,getting it to the WAN will be more work.
Hey no it's apache 1.3. I actually uninstalled and just put 2 on and it does the same thing. Not sure about groups like you said? I'm not that great with apache, do I need to change something in the config file to make it take over instead of the dsl modem?
Sorry just wanted to add as well, if I go to localhost in my browser, or type in my ubuntu box's IP on my other systems the web server works fine. It's just when I go to my ip address directly. I use zone edit for dns server, so I type www.invution.com in a browser, press enter and my modem config comes up. Same with typing the IP of my internet connection in directly.
When your at the modem conf page is port 80 open.You said it worked on windows?On the modem conf page did you enable port forwarding to the debian(ubuntu) box.Just some stuff to check.I'm not that great on this stuff.Just stick with apache2 for now.Look in /etc/apache2/apache2.conf and /etc/apache2/commonapache2.conf In commonapache2.conf look at User and Group in apache.conf need to uncomment
#ServerName and add www.invution.com this is for apache,just different conf files http://www.start-linux.com/articles/article_78.php
And don't forget to restart apache2 I think its /etc/init.d/apache2 restart
what happens
Is the debian box set up like this http://www.aboutdebian.com/proxy.htm
Last edited by comprookie2000; 03-20-2005 at 09:57 AM.
K I'll try that. The modem conf page only shows status like what my IP is and lets me log in. I have Bell Sympatico DSL, instead of using PPPoE it's changed so you go to the modem conf page, enter ur ID and password and the modem will constantly stay logged in, so on the computer side it might as well be a LAN connection or cable or what not. My router acts like the dsl modem is just a regular lan and uses DHCP. I'm not sure how to check if port 80 is open?
Here's some more info from the page and such. My ubuntu box is 192.168.3.103. The router gateway is 192.168.3.1. The DSL modem is 192.168.2.1. When I go into the modem config there's a button that says "Change to bridge mode" and when I press says are you sure? So I'm not sure if that helps or anything..
I fixed it guys thanks so much. Not sure if it was the bridge mode or what. I clicked that but now I can't go back to the modem website anymore lol oh well. But either way in my router instead of letting it connect using DHCP I told it to connect via PPPoE. Before the router was showing my LAN IP as like 192.168.2.10 which is the modem's ip given to the router, but with PPPOE it has a proper 65. whatever one now and it works, thanks sooo much I really appreciate it. My other question was do you know how to properly change the server http files to /webserver instead of /var/www? I tried and when I try toa ccess it it says forbidden you do not have permission.
I don't want to say anything cause I'm not sure.See if the mod's will move this thread to Linux - Networking Just hang in there someone will come to the rescue!
Look in those conf files and see if it is set up as user apache and group apache
Try to add apache to the users group with "usermod -g apache -G users apache", make sure the chmoding is correct and refresh.
Last edited by comprookie2000; 03-20-2005 at 10:20 AM.
Here are a couple of suggestions / questions. I had the same issue with the router showing up instead of my webpage when I type the url in the browser.
I believe the problem was in the host file. Also I made some changes to the network card and how it polls for IPs. DHCP should work fine because of the ZoneEdit. You want your router to be DHCP so that when you provider updates it, the changes are replicated to ZoneEdit and the DNS’ change.
Apache in that release should have a group (apache) and user (apache) that was defined with the install. When you go into your user and group configuration be sure to check the option for showing everything. I believe it defaults to the short list.
I am having some confusion about the back-end configurations, i.e. Forward and reverse zones, host files, etc… I am not sure how these should be configured in relationship with Zoneedit; since zoneedit controls A, and PTR records on their site?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.