Jump to content

Remote access


kilimanjaro
 Share

Recommended Posts

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

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 by kilimanjaro
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...