Skip to main content
Participant
November 23, 2006
Question

setting an alias [ubuntu] to wwwroot

  • November 23, 2006
  • 1 reply
  • 275 views
Sorry if I'm missing a) an answer somewhere else in the forum; b) something obvious ...

I'm happily running ColdFusion MX 7 on an Ubuntu Linux box, but not so happy having to work as root user in order to access cfm source files under /opt/.../wwwroot

Where do I need to go/what do I need to do to set up a source-file directory somewhere under my own Home path? the rest of the ColdFusion installation stays, of course, safely in /opt ...

Thanks in advance!
    This topic has been closed for replies.

    1 reply

    November 24, 2006
    Assuming the following, CF in /opt/coldfusionmx7/wwwroot and Web in /home/user/htdocs/

    run the following on the box via ssh/terminal

    cd /home/user/htdocs/
    ln -s /opt/coldfusionmx7/wwwroot wwwroot

    That would create you a symbolic in /home/user/htdocs/ called wwwroot. You can of course create that link wherever you like

    Hope that helps.