PDA

View Full Version : index.html for webserver help


blueboy4
2008-05-19, 08:24 PM CDT
First of all, I was able to follow the tutorial by SendDerek successfully (excellent tutorial, by the way). I have my html files in ~/var/www/html because I don't want to do all modifications as root. I tried creating links (both hard and symbolic) to index.html in /var/www/html but that doesn't work.
I don't know much about html programming (I'm still learning) but can someone help me out?
Also, I've had websites look all screwed up in Konqueror and I don't want my page to look like that. What causes it and where can I find tutorials to make my site appear the same no matter the browser?

Thanks all.

pete_1967
2008-05-19, 08:36 PM CDT
First of all, I was able to follow the tutorial by SendDerek successfully (excellent tutorial, by the way).

Never heard of so passing.


I have my html files in ~/var/www/html because I don't want to do all modifications as root. I tried creating links (both hard and symbolic) to index.html in /var/www/html but that doesn't work.

/var/www/html/ is default directory. All you need to do is copy your files there and they are served. What for/ where are you trying to point those links?


Also, I've had websites look all screwed up in Konqueror and I don't want my page to look like that. What causes it and where can I find tutorials to make my site appear the same no matter the browser?

It's called crappy coding ;)

http://www.w3schools.com/ for great tutorials and http://www.w3.org/ for the real deal.

Also save pages from sites you like on your hard-drive, study the code and try what happens when you modify it.

blueboy4
2008-05-19, 09:04 PM CDT
I guess I should've been more specific. SendDerek's tutorial is right here. (http://forum.fedoraforum.org/showthread.php?t=178660) Had a little trouble with port forwarding but got it eventually.

I put the links in /var/www/html (the default location). Too bad I have to save all my files as root. I guess it's not all bad. Thanks for your response.

marcrblevins
2008-05-24, 02:53 AM CDT
You can have your web files in your /home/yourname directory.

Look at:
http://forums.fedoraforum.org/showthread.php?t=189428 (http://forums.fedoraforum.org/showthread.php?t=189428)