Results 1 to 4 of 4
  1. #1

    Question Setting up an Alias directory in Unix?

    I am trying to setup an alias directory to be shared across all of my domains. I know I have to enter a similar line like this Alias /recips/ "/home/recips/public_html/" in my httpd.config file.

    Unfortunately I have no idea how to get to this after logging into my server.

    I have heard this isn't that hard but I haven't done much command programming since Basic was a common language!

    Anyone know how to do this?

  2. #2
    What OS are you running? Are you familar with pico or vi? Locate the httpd.conf file with locate or find if you need to (it's usually in /etc/httpd/conf or /usr/local/apache/conf) and edit the file. You can add that line globally near the other global aliases if you have any, otherwise you can create it (of course).
    Robert McGregor
    Email: robertm@(nospam)

  3. #3
    I'm running Unix. I have no idea what pico or vi are. I'm so ashamed.

    If you can slow down a lil for me and tell me what I do from login I'd appreciate it. It sounds like you really know what you are talking about!

  4. #4
    login to shell account (via ssh or telnet, or from console). locate httpd.conf file. type "pico httpd.conf". Set-up alias. Type "Ctrl-X" hit 'y'. Then from shell type "../bin/apachectl restart"

    And you are done. Make sure your apache server starts
    ps. I hope you have write permission to file (try to use root account if you have password)

Posting Permissions

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