Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Thanks for all your help guys! In Suse, http.conf is located in /etc/apache2/ - I added the line Code: Alias /rawlyn/ /home/rawlyn/public_html/ to the end of the file, restarted, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Mar 2005
    Location
    Cornwall, UK
    Posts
    40

    Thanks for all your help guys!
    In Suse, http.conf is located in /etc/apache2/ - I added the line

    Code:
    Alias /rawlyn/ /home/rawlyn/public_html/
    to the end of the file, restarted, and bingo! It was so simple I feel like a moron, but you never know if you don't ask....

    Just an afterthought though - I added the line to the end of httpd.conf - does the order of things in this file matter? It's not like I'm trying to run an e-commerce megasite or anything so I don't suppose it really matters, but I'm just interested :P

    Peace,
    Rawlyn.

  2. #12
    Just Joined!
    Join Date
    Jul 2005
    Location
    Inside the Kernel (somewhere)
    Posts
    41
    I've always placed aliases at the top.
    Instead of placing an alias, though, if all you're going to do is host your own site, try modifying the virtualhost entry to point to your public_html instead of /etc/apache2 where it probably is going to now . This'll remove any necessity for you to have /rawlyn/ added to your directives, it'll simply go there on ip request.

  3. #13
    Just Joined!
    Join Date
    Mar 2005
    Location
    Cornwall, UK
    Posts
    40
    Thanks for that last post, but I don't reckon it's nescessary - I'm not intending to run any kind of site at all, just need to use Apache to parse PHP offline so that I can learn to code with it - the alias does just fine

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Jun 2006
    Posts
    2
    i use "that" alias and put it last line in my httpd.conf and i still cant get what rawlyn get.

    sorry .. my english bad .. :P

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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