dynamic maping or alias for all user in apacheDifference between the Apache HTTP Server and Apache Tomcat?UTF-8 all the way throughApache mod_rewrite: explain me %HTTP_HOST especially when using addon domainsShould I use alias or alias_method?Make a Bash alias that takes a parameter?Apache Rewrite: show files from two directories in the same directoryAlias, mod_rewrite or something else for shared php scripts?Apache Server alias - Rewrite rule Zend Framework not workingApache website permissions under Centos 7Remove port in apache tomcat 7 (linux Centos)

Why does Kotter return in Welcome Back Kotter?

Why are electrically insulating heatsinks so rare? Is it just cost?

Why is Minecraft giving an OpenGL error?

Can a Cauchy sequence converge for one metric while not converging for another?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Does detail obscure or enhance action?

I'm flying to France today and my passport expires in less than 2 months

What does it mean to describe someone as a butt steak?

Modeling an IP Address

Codimension of non-flat locus

What's that red-plus icon near a text?

Why doesn't H₄O²⁺ exist?

Are astronomers waiting to see something in an image from a gravitational lens that they've already seen in an adjacent image?

Alternative to sending password over mail?

Doing something right before you need it - expression for this?

Do I have a twin with permutated remainders?

Why can't I see bouncing of a switch on an oscilloscope?

Can a(n) = n/n+1 be written recursively?

Is it possible to do 50 km distance without any previous training?

LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function

NMaximize is not converging to a solution

How much RAM could one put in a typical 80386 setup?

Paid for article while in US on F-1 visa?

Add text to same line using sed



dynamic maping or alias for all user in apache


Difference between the Apache HTTP Server and Apache Tomcat?UTF-8 all the way throughApache mod_rewrite: explain me %HTTP_HOST especially when using addon domainsShould I use alias or alias_method?Make a Bash alias that takes a parameter?Apache Rewrite: show files from two directories in the same directoryAlias, mod_rewrite or something else for shared php scripts?Apache Server alias - Rewrite rule Zend Framework not workingApache website permissions under Centos 7Remove port in apache tomcat 7 (linux Centos)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















i have a centos server run with apache & directadmin & i have Hundreds of users & domains on this server.

i want if a directory requeted from all users url show the content of another directory of that user.

for example:

if we open this url:

user1.com/test

insteat of its orginal directory: /home/user1/public_html/test

show the content of this directory: /home/user1/public_html/reserve

i can do this from .htaccess or user special httpd.conf

but i need a dynamic soloution for all users domain in my server if request 'test' directory. show contet of 'reserve' directory in public_html of Same user.










share|improve this question




























    0















    i have a centos server run with apache & directadmin & i have Hundreds of users & domains on this server.

    i want if a directory requeted from all users url show the content of another directory of that user.

    for example:

    if we open this url:

    user1.com/test

    insteat of its orginal directory: /home/user1/public_html/test

    show the content of this directory: /home/user1/public_html/reserve

    i can do this from .htaccess or user special httpd.conf

    but i need a dynamic soloution for all users domain in my server if request 'test' directory. show contet of 'reserve' directory in public_html of Same user.










    share|improve this question
























      0












      0








      0








      i have a centos server run with apache & directadmin & i have Hundreds of users & domains on this server.

      i want if a directory requeted from all users url show the content of another directory of that user.

      for example:

      if we open this url:

      user1.com/test

      insteat of its orginal directory: /home/user1/public_html/test

      show the content of this directory: /home/user1/public_html/reserve

      i can do this from .htaccess or user special httpd.conf

      but i need a dynamic soloution for all users domain in my server if request 'test' directory. show contet of 'reserve' directory in public_html of Same user.










      share|improve this question














      i have a centos server run with apache & directadmin & i have Hundreds of users & domains on this server.

      i want if a directory requeted from all users url show the content of another directory of that user.

      for example:

      if we open this url:

      user1.com/test

      insteat of its orginal directory: /home/user1/public_html/test

      show the content of this directory: /home/user1/public_html/reserve

      i can do this from .htaccess or user special httpd.conf

      but i need a dynamic soloution for all users domain in my server if request 'test' directory. show contet of 'reserve' directory in public_html of Same user.







      apache mapping alias






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 22:49









      HamidZHamidZ

      53110




      53110






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55290382%2fdynamic-maping-or-alias-for-all-user-in-apache%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55290382%2fdynamic-maping-or-alias-for-all-user-in-apache%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript