scoopy Posted September 21, 2004 Report Share Posted September 21, 2004 It works good here. The link even takes me to your "kilimanjaro" folder and I can see a list of your files there. 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 Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 22, 2004 Author Report Share Posted September 22, 2004 scoopy What I am trying to do (and it may not be possible) is that I want the kilimanjaro.html to be the first thing you see when you go to my server. When I put it there and removed the .htaccess file I got a permission denied. Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 22, 2004 Report Share Posted September 22, 2004 rename kilimanjaro.html to index.html then let me check what I get from here. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 22, 2004 Author Report Share Posted September 22, 2004 I bow before the allmight wisdom of scoopy That seem way too easy. BUT, now my link doesn't work. I must have set it up wrong. I'll try again. Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 22, 2004 Report Share Posted September 22, 2004 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 ) Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted September 25, 2004 Author Report Share Posted September 25, 2004 Everything seems to be working gowator and scoopy The next thing is to get my background image to scale to the window size, any suggestions? And now to work on logins and passwords how do I do that? Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 25, 2004 Report Share Posted September 25, 2004 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. Kindex.html Quote Link to comment Share on other sites More sharing options...
n00i3 Posted October 19, 2004 Report Share Posted October 19, 2004 (edited) 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 October 19, 2004 by n00i3 Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted October 19, 2004 Report Share Posted October 19, 2004 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.. Quote Link to comment Share on other sites More sharing options...
Gowator Posted October 19, 2004 Report Share Posted October 19, 2004 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! <{POST_SNAPBACK}> 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) Quote Link to comment Share on other sites More sharing options...
n00i3 Posted October 19, 2004 Report Share Posted October 19, 2004 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? Quote Link to comment Share on other sites More sharing options...
n00i3 Posted October 19, 2004 Report Share Posted October 19, 2004 yep it's working ... i ssh'ed to the university server and then ssh'ed from the server back on to my pc ... lol ssh is amazing ... just hope that noone's sniffing my packets :-S Quote Link to comment Share on other sites More sharing options...
spinynorman Posted October 19, 2004 Report Share Posted October 19, 2004 however i dont have any command called checkconfig :( weird ... no man entry either !!!<{POST_SNAPBACK}> That's chkconfig... :) Quote Link to comment Share on other sites More sharing options...
n00i3 Posted October 19, 2004 Report Share Posted October 19, 2004 That's chkconfig... :) lol thanks :D ... now i need to set up my webserver! 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.