Jump to content

Remote access


kilimanjaro
 Share

Recommended Posts

It works good here. :headbang: The link even takes me to your "kilimanjaro" folder and I can see a list of your files there. :headbang:

 

I think you are getting forbidden...because you need to use the local address within your network and not the real IP address.

 

so for the world to access your stuff...

http://216.98.xxx.xx/kilimanjaro

 

or for you to see the same from your local machine... use this instead...

http://127.0.0.1/kilimanjaro

 

I also notice the background image does not have the right path. This is a fault of composer and not you. To change this --- or to change any of the code --- open up in any text editor --- kate works good for me --- maybe gedit for gnome people ?

 

you will want to change:

url(file:///var/www/html/kilimanjaro/fotos/Glass%20lake.jpg)

to

url(kilimanjaro/fotos/Glass%20lake.jpg)

 

and I think you should be able to figure out where that page title is too.

 

your getting there :headbang:

Link to comment
Share on other sites

  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Stop that ! :P

 

Look at your source... where did this line come from in between your <head></head> tags?

 

<a href+"./http://216.98.xxx.xx/kilimanjaro">kilimanjaro</a>

 

PS: while your in there editing your index file... don't forget to change this line if you want the background image to show to your visitors...

 

this:

url(file:///home/kilimanjaro/Pictures/2003/eaglecap/eaglecap%20%232/p1010002.jpg)

 

to this:

url(p1010002.jpg)

 

( and if you put a copy of the photo in /var/www/html )

Link to comment
Share on other sites

The next thing is to get my background image to scale to the window size, any suggestions?

Images, whether a normal placement on a web page or as a background image... can be tricky to scale to size (percentage). It is possible --- if you want to go through all the hassle of adding a script that recognizes your screen resolution and then displays a custom page for that size.

 

Your best bet is to size the image down to what most web surfers use. According to my figures, 95 percent of users have either 1024x768 or 800x600. So with that in mind, I inserted this image on the page as a normal image and displayed it at 800 pixels wide. Now this leaves some blank space we can dress up a bit. I added a background color and a border.

 

I also don't have the font "creature" installed, and I imagine others don't either. This made for a very unreadable title on your page. To correct this, I added a couple alternate fonts to use instead.

 

*see index page attached for the code and jpg for how it looks w/ 1024x768 *

 

As for logins and passwords... I haven't done anything like that from scratch ( I use those ready made web apps that come with logins ) but I would search google for a script you could add to your index page.

http://www.google.com/search?hl=en&ie=ISO-...G=Google+Search

php is best, but you may find a javascript one that would be much easier to do.

post-225-1096136623_thumb.jpg

Kindex.html

Link to comment
Share on other sites

  • 4 weeks later...

hey guys ... i just read the whole thread thanks for helping out... if you could also kindly let me know how to start ssh ... i got my webserver working (well to put files into /var/www/html/ i need to be root and that sucks lol) and we are using unix at the labs at my school ; so all i need to do is start ssh server :P

 

need the command for that ... and the forwarding settings if any ... (i gather that it's port 22 :P?)

 

thanks and cheers!

Edited by n00i3
Link to comment
Share on other sites

javascript login check is crap if you want to use encrypted passwords. - You need to give the passwords to the client to validate against what the entered.

 

This doesn't matter if its not the most important thing int the world, but bear in mind it would be quite simple to hack.

 

PHP would be a much more elegant approach, and you can either use the html authentification system, or use a mysql server holding some users and passwords. Then just compare the text-field username and password field password against the database entries..

Link to comment
Share on other sites

hey guys ... i just read the whole thread thanks for helping out... if you could also kindly let me know how to start ssh ... i got my webserver working (well to put files into /var/www/html/ i need to be root and that sucks lol) and we are using unix at the labs at my school ; so all i need to do is start ssh server :P

 

need the command for that ... and the forwarding settings if any ... (i gather that it's port 22 :P?)

 

thanks and cheers!

 

 

ake sure its insalled with

urpmi sshd

 

then check it starts at boot with

checkconfig sshd

 

if not add it to run levels 3-5...

checkconfig sshd 3 4 5

(or simialr, do a man on checkconfig) or you can use the MCC services..

 

to just start it manually just use the script

/etc/init.d/sshd start (or stop if you wanna stop it)

 

the urpmi should do your keygen, if not you need to make one manually.

get back if this is the case I can't remember the syntax off the top of my head!

 

but

if you want to make a easier html directory just make a subdir of /var/www/html and give it 722 access and owned by your user...

then youruser has read/write and exeveryone else (including apache read/execute only)

Link to comment
Share on other sites

that was perfect ... i had to install it ... and i'd rather start the service myself :D :P

 

however i dont have any command called checkconfig :( weird ... no man entry either !!!

 

THanks for the html directory tip! also, is there any way that i can test this out right here on my pc? :P

 

Just another quick question... my professor says that ssh is not at all secure, without a licenced key; i might as well be telneting... is that correct?

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