Results 1 to 5 of 5
how can i add a second page to my website server and link it to my website server as a link. im just try to add link to other pages ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-20-2006 #1Linux Newbie
- Join Date
- Oct 2005
- Posts
- 110
link from my site to other pages
how can i add a second page to my website server and link it to my website server as a link. im just try to add link to other pages from my main site. and i want to add a password to one or two link pages. how do i do that. and in what dir do i save the links. this is how my dir looks /var/www/error/noindex.html noindex.html is my main website
the pic i store at /var/www/icons
- 01-20-2006 #2
why do you keep your main pages in the error folder? seems strange.
to add a new page just create the page in whatever your editor is and then save it or transfer it to that directory. to add links to the page I would try google, first one I found was this http://www.w3schools.com/html/html_links.asp
to password protect a page you can use htaccess files, google also comes in handy here
http://www.javascriptkit.com/howto/htaccess3.shtml
- 01-20-2006 #3
sounds to me like you want symlinks :?
My apache serves its pages from /srv/www/htdocs
I use symlinks to get to the proper directories under home/user
symlinks
########
Making a symlink in KDE konqueror: drag the folder to the desired destination and go for the lowest option: link
ln -s other ../
In the commandline make a symlink of the directory 'other' to a directory higher up.
Then when you go to that dir and: ls -all ,you can see the link displayed as follows:
lrwxrwxrwx 1 user linux 5 2006-01-20 14:08 other -> other
Removing symlinks (here named 'E') by
rm E
- 01-20-2006 #4Linux Newbie
- Join Date
- Oct 2005
- Posts
- 110
link from my site to other pages
when i install redhat it was already in the /error dir do i need to move it, if so where to.
- 01-20-2006 #5
maybe put it in /var/www
and name it index.html ?
Looks like you edited the error-page to look like your website ...
Does that help?


Reply With Quote
