change DocumentRoot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruiner17
    Junior Member
    • Mar 2004
    • 12

    #1

    change DocumentRoot

    I'm looking for a solution to change the document root from the default.

    currently it goes to

    /home/<name>/public_html/

    I would like to change it to

    /home/<name>/public_html/public/

    I have some files/dirs that I would like to be kept outside of the docroot. How can I do this without access to the httpd.conf?

    Thanks,
    James
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    This is not something that you can change nor will we change it. You can store files outside of the public_html directory already.

    Comment

    • ruiner17
      Junior Member
      • Mar 2004
      • 12

      #3
      thanks for the reply.

      Comment

      • sdjl
        Senior Member
        • Mar 2004
        • 502

        #4
        As Andrew says, just store the files that you want out of the public_html folder.
        You can then include them or do whatever you need to by calling them as /home/USER/file.blah

        David
        -----
        Do you fear the obsolescence of the metanarrative apparatus of legitimation?

        Comment

        Working...