Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    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

    to password protect a page you can use htaccess files, google also comes in handy here

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

    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

  4. $spacer_open
  5. #4

    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.

  6. #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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts