kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 Once I get this set up, will I be able to use it for my database project? Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 Ok, so I have gproftpd going, with file in the folder, but the GUI says I am off line, and it won't connect. Quote Link to comment Share on other sites More sharing options...
Gowator Posted September 18, 2004 Report Share Posted September 18, 2004 Sorry back again!!! OK lets do the apache first (its simplest) It should practically be setup.,... just to make sure its working etc. root@sixty4:/var/www/netjuke/var/music# apachectl status Not Found The requested URL /server-status was not found on this server. _________________________________________________________________ Apache/1.3.31 Server at localhost Port 80 this is fromt he box you connected to... if it is sucessful even better but not critical Dont worry about the not found part, the thing is its running....(you connected to this one) root@sixty4:/var/www/netjuke/var/music# apachectl status Not Found The requested URL /server-status was not found on this server. _________________________________________________________________ Apache/1.3.31 Server at localhost Port 80 thats a different box but its MDK 10.0 so like yours.... So if not apachectl start check if it gives errors.. if not then http://localhost this should bring up the advanced server default page for MDK :D then you need to check your IP....make sure its static (http://www.myip.dk/) will do the trick.... eventually a dynamic IP is easiest.... but if this all works make a directory in /var/www/html and make sure its owned by apache:apache and chmod +R on it.... give this a go and lets see where we get! Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 I can access theserver, but I dont know how to actually get to my file or to index(?) it. I just typed in my isp and it takes me to the server with my isp right at the top of the page. I have a directory /var/www/html/kilimanjaro-files and it is apache:apache, but I can't seem to get it on my browser all I get is the apache info. Quote Link to comment Share on other sites More sharing options...
Gowator Posted September 18, 2004 Report Share Posted September 18, 2004 slow down, do you mean ip or ISP??? Try the page i gave you to check your IP... it might change often or not... then try from the machine your on. Do this in this order, if it stops or doesnt work as I say it should tell us where :D http://localhost/ this should give the server start page... then try http://localhost/kilimanjaro-files (remember all paths are relative to /var/www/html) now substitute your IP for localhost... (your not going through a firewall are you? perhaps the firewall is on and blocking port 80 which is needed for http?) Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 (edited) http://localhost/ gives me the serve rinformation page. http://localhost/kilimanjaro-files gives me a bif "forbidden - I don't have permission to access" The file owner: apache-system user for apache2 (the only listing for apache) The file group: apache and then all of the boxes are checked. I have port 80 open in my firewall. The web browser changes local host to my ip indescriminately and I get the same result. I did mean ip Edited September 18, 2004 by kilimanjaro Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 I just did a port scan and 80 is open for http Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 I get a popup that says connectio refused when I try ftp://216.97.234.11 Quote Link to comment Share on other sites More sharing options...
Gowator Posted September 18, 2004 Report Share Posted September 18, 2004 OK (one at once lets do http before ftp) from a cli, su root su apache (prevents you needing password coming from root) then cp /var/www/html/index.html /var/www/html/kilimanjaro-files/index.html then try http://localhost/kilimanjaro-files it should open the same file ! if any of this doesnt work without errors then post back... Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 [root@summit kilimanjaro]# su apache sh: /root/.bashrc: Permission denied sh-2.05b$ I have been having problems when I install something that needs bash, it doesn't recognize that bash is installed, could this be causing problems? Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 18, 2004 Report Share Posted September 18, 2004 if this index file exists... what happens when you try to access it through a web browser: http://localhost/kilimanjaro-files/index.html I get a popup that says connectio refused when I try ftp://216.97.234.11 This is a different service and basically is not ran through apache configs. We need to make sure your apache stuff is configured correctly first. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 actually I am mainly working on the apache. I get a forbidden no access permitted when I try http://216.98.234.11/openaccess/ or http://localhost/openaccess/ Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 scoopy - where's your avatar? Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 18, 2004 Author Report Share Posted September 18, 2004 I got this from the error log [sat Sep 18 13:45:20 2004] [crit] [client 127.0.0.1] (13)Permission denied: /var/www/html/openaccess/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable [sat Sep 18 13:48:02 2004] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/openaccess/ [sat Sep 18 13:48:18 2004] [error] [client 216.98.234.11] Directory index forbidden by rule: /var/www/html/openaccess/ [sat Sep 18 13:48:21 2004] [error] [client 216.98.234.11] Directory index forbidden by rule: /var/www/html/openaccess/ Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 18, 2004 Report Share Posted September 18, 2004 Do these folders exist in /var/www/html/ kilimanjaro-files openaccess Do you have index.html files in those folders? scoopy - where's your avatar? I think he thought he saw a fish in your avatar. :P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.