apache httpd.conf question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    apache httpd.conf question

    how can i make that when i create a folder on my domain (domain.com/folder) the contain of the folder to be automaticaly accessible at folder.domain.com address Without entering every subdomain in the httaccess.conf file?

    so, when i want create a subdomain to be enough to create a folder in my domain folder (domain.com/folder)

    how can i do this?
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #2
    nobody know?

    Comment

    • Mr Pheer
      So Fucking Banned
      • Dec 2002
      • 22083

      #3
      I suppose you could use mod_rehahahahaha but i wouldnt exactly know how to do it

      or, use a php redirect in the folder

      Comment

      • n0de
        Confirmed User
        • Jan 2003
        • 250

        #4
        ServerAlias folder.domain.com
        ICQ: 113090760
        Im too sexy for my sig.

        Comment

        • Mr Pheer
          So Fucking Banned
          • Dec 2002
          • 22083

          #5
          Originally posted by MrPheer
          I suppose you could use mod_rehahahahaha but i wouldnt exactly know how to do it

          or, use a php redirect in the folder
          this hahaha shit is really fucking annoying just incase any admins are paying attention

          Comment

          • Weppel
            Confirmed User
            • Aug 2003
            • 2190

            #6
            Originally posted by n0de
            ServerAlias folder.domain.com
            That won't work, well, it would work but not the way he wanted it.

            If i'm correct, you want to be able to create a folder (domain.tld/folder), and after the creation it should be automatically accessible through folder.domain.tld, right?

            The only way i could think of is using mod_rewri<b></b>te to be honest.

            Comment

            • n0de
              Confirmed User
              • Jan 2003
              • 250

              #7
              <VirtualHost 66.230.172.61>
              ServerName folder.ltd.com
              ServerAlias www.domain.ltd
              ScriptAlias /cgi-bin/ /path/to/domain.ltd/cgi-bin/
              hahahahahahahahaRoot /path/to/domain.ltd/folder
              </VirtualHost>
              ICQ: 113090760
              Im too sexy for my sig.

              Comment

              Working...