How do connect /var/www/html folder to the spring-boot project in /home/userphpinfo(); in /var/www/html not workingCannot create file in /var/www/htmlRecover /var/www/htmlHow to add files to /var/www/html/ without using the terminal?Linux restrict user to specific folder in var/wwwCan hackers inject anything to the server outside /var/www/html

How can you know which index is tracked by a specific index fund?

Could anyone explain this 置く置かない to me please

Rite of Winter: How to Stop Crescian Couples from Mutual Assassination

Is economics a science?

Spirit guardians and iron golems

What's the girl's name?

process numerical input arguments of mixed ints, floats, and "array-like" things of same length>1

Can Mathematica provide a reliable estimate of the numerical error from NDSolve?

Does Burrow leave behind a tunnel?

Will transcribing music improve my ability to play a song by ear?

How do you help a new player evaluate complex multiclassing options without driving them and yourself crazy?

Sold item on eBay, buyer wants it to be delivered to another country, and pay by bank transfer

What is the difference between "more" and "less" commands?

Can I freely use 'here is' instead of 'there is' if I'm in the place where that thing is?

Possible way to counter or sidestep split-second spells (like Trickbind) in a particular situation

Was X17 predicted before it was observed?

Is it possible to write Quake's fast InvSqrt() function in Rust?

Weakening g4 move

What are the possible punishments for an impeached USA president?

A good reference to the Gauss result on the structure of the multiplicative group of a residue ring

Is it possible to find out the probability of a type 2 error in 2 sample t test?

Why is this negated with nicht and not kein?

Is Communism intrinsically Authoritarian?

A fantasy novel that takes place on a ship. There is a spy on the ship and at some point amphibious monsters catch him



How do connect /var/www/html folder to the spring-boot project in /home/user


phpinfo(); in /var/www/html not workingCannot create file in /var/www/htmlRecover /var/www/htmlHow to add files to /var/www/html/ without using the terminal?Linux restrict user to specific folder in var/wwwCan hackers inject anything to the server outside /var/www/html






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















I have created a spring-boot project in /home/MYUSERNAME folder
in the spring boot project there are html and jsp files in webapps/jsps/ folder.
So, how do I link them to www/html folder?



Is it a good way to do it ?










share|improve this question

























  • This is not an ubuntu question, I would ask on stackoverflow

    – j-money
    Sep 20 at 23:34











  • Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

    – Prodip
    Sep 22 at 1:40

















0


















I have created a spring-boot project in /home/MYUSERNAME folder
in the spring boot project there are html and jsp files in webapps/jsps/ folder.
So, how do I link them to www/html folder?



Is it a good way to do it ?










share|improve this question

























  • This is not an ubuntu question, I would ask on stackoverflow

    – j-money
    Sep 20 at 23:34











  • Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

    – Prodip
    Sep 22 at 1:40













0













0









0








I have created a spring-boot project in /home/MYUSERNAME folder
in the spring boot project there are html and jsp files in webapps/jsps/ folder.
So, how do I link them to www/html folder?



Is it a good way to do it ?










share|improve this question














I have created a spring-boot project in /home/MYUSERNAME folder
in the spring boot project there are html and jsp files in webapps/jsps/ folder.
So, how do I link them to www/html folder?



Is it a good way to do it ?







apache2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 20 at 18:25









ProdipProdip

1




1















  • This is not an ubuntu question, I would ask on stackoverflow

    – j-money
    Sep 20 at 23:34











  • Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

    – Prodip
    Sep 22 at 1:40

















  • This is not an ubuntu question, I would ask on stackoverflow

    – j-money
    Sep 20 at 23:34











  • Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

    – Prodip
    Sep 22 at 1:40
















This is not an ubuntu question, I would ask on stackoverflow

– j-money
Sep 20 at 23:34





This is not an ubuntu question, I would ask on stackoverflow

– j-money
Sep 20 at 23:34













Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

– Prodip
Sep 22 at 1:40





Yeah, since I was trying to do this in an ubuntu server, thought I should ask this here

– Prodip
Sep 22 at 1:40










1 Answer
1






active

oldest

votes


















0



















Did you try with a symbolic link?



usage: ln [-Ffhinsv] source_file [target_file]
ln [-Ffhinsv] source_file ... target_dir
link source_file target_file


Example



ln -s /home/MYUSERNAME/PROJECT_NAME/webapps/jsps/ /var/www/html


If destination folder already exists, you have to delete it






share|improve this answer


























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1175546%2fhow-do-connect-var-www-html-folder-to-the-spring-boot-project-in-home-user%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0



















    Did you try with a symbolic link?



    usage: ln [-Ffhinsv] source_file [target_file]
    ln [-Ffhinsv] source_file ... target_dir
    link source_file target_file


    Example



    ln -s /home/MYUSERNAME/PROJECT_NAME/webapps/jsps/ /var/www/html


    If destination folder already exists, you have to delete it






    share|improve this answer





























      0



















      Did you try with a symbolic link?



      usage: ln [-Ffhinsv] source_file [target_file]
      ln [-Ffhinsv] source_file ... target_dir
      link source_file target_file


      Example



      ln -s /home/MYUSERNAME/PROJECT_NAME/webapps/jsps/ /var/www/html


      If destination folder already exists, you have to delete it






      share|improve this answer



























        0















        0











        0









        Did you try with a symbolic link?



        usage: ln [-Ffhinsv] source_file [target_file]
        ln [-Ffhinsv] source_file ... target_dir
        link source_file target_file


        Example



        ln -s /home/MYUSERNAME/PROJECT_NAME/webapps/jsps/ /var/www/html


        If destination folder already exists, you have to delete it






        share|improve this answer














        Did you try with a symbolic link?



        usage: ln [-Ffhinsv] source_file [target_file]
        ln [-Ffhinsv] source_file ... target_dir
        link source_file target_file


        Example



        ln -s /home/MYUSERNAME/PROJECT_NAME/webapps/jsps/ /var/www/html


        If destination folder already exists, you have to delete it







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Sep 20 at 19:07









        ErcoleErcole

        11 bronze badge




        11 bronze badge































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1175546%2fhow-do-connect-var-www-html-folder-to-the-spring-boot-project-in-home-user%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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?