change document root on xampp 7.2.7 in ubuntu 18.04I can't get the directory contents to not be listed when...

Mathematica command that allows it to read my intentions

How obscure is the use of 令 in 令和?

Can compressed videos be decoded back to their uncompresed original format?

Obtaining database information and values in extended properties

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

What is the fastest integer factorization to break RSA?

How to travel to Japan while expressing milk?

Forgetting the musical notes while performing in concert

In the UK, is it possible to get a referendum by a court decision?

Should I tell management that I intend to leave due to bad software development practices?

Unlock My Phone! February 2018

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Do creatures with a speed 0ft., fly 30ft. (hover) ever touch the ground?

What historical events would have to change in order to make 19th century "steampunk" technology possible?

What does the same-ish mean?

What do you call someone who asks many questions?

Machine learning testing data

How to remove border from elements in the last row?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

What's the meaning of "Sollensaussagen"?

How to prevent "they're falling in love" trope

What Exploit Are These User Agents Trying to Use?

Bullying boss launched a smear campaign and made me unemployable

What are the G forces leaving Earth orbit?



change document root on xampp 7.2.7 in ubuntu 18.04


I can't get the directory contents to not be listed when viewing localhost/mySiteHow do I set DocumentRoot/Directory path in XAMPP httpd.conf to USB flash folder?Access forbidden 403 error in xamppApache2 Virtual Hosting ServerName in Ubuntu Server 14.04 in LAN not WorkingConfiguring virtual hosts in apache2I can't get wordpress on working on a apache! Please help!Have localhost with dual boot (Windows/Ubuntu) share htdocs & mysql databases with XAMPP500 Internal Server Error after installing Zend framework on UbuntuHow to configure Lampp to point a domain to specific directoy on UbuntuWhy my VPS IP is not pointing to server base directory in Lampp on Ubuntu













1















I've installed xampp 7.2.7 and I'm trying to change the document root ,when I go to /opt/lampp/apache2/conf/httpd.conf this is its content:



Alias /bitnami/ "/opt/lampp/apache2/htdocs/"
Alias /bitnami "/opt/lampp/apache2/htdocs"

<Directory "/opt/lampp/apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>


Nothing about documentRoot,I this the wrong file to change configuration?










share|improve this question



























    1















    I've installed xampp 7.2.7 and I'm trying to change the document root ,when I go to /opt/lampp/apache2/conf/httpd.conf this is its content:



    Alias /bitnami/ "/opt/lampp/apache2/htdocs/"
    Alias /bitnami "/opt/lampp/apache2/htdocs"

    <Directory "/opt/lampp/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>


    Nothing about documentRoot,I this the wrong file to change configuration?










    share|improve this question

























      1












      1








      1








      I've installed xampp 7.2.7 and I'm trying to change the document root ,when I go to /opt/lampp/apache2/conf/httpd.conf this is its content:



      Alias /bitnami/ "/opt/lampp/apache2/htdocs/"
      Alias /bitnami "/opt/lampp/apache2/htdocs"

      <Directory "/opt/lampp/apache2/htdocs">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
      </Directory>


      Nothing about documentRoot,I this the wrong file to change configuration?










      share|improve this question














      I've installed xampp 7.2.7 and I'm trying to change the document root ,when I go to /opt/lampp/apache2/conf/httpd.conf this is its content:



      Alias /bitnami/ "/opt/lampp/apache2/htdocs/"
      Alias /bitnami "/opt/lampp/apache2/htdocs"

      <Directory "/opt/lampp/apache2/htdocs">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
      </Directory>


      Nothing about documentRoot,I this the wrong file to change configuration?







      18.04 apache2 xampp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 4 '18 at 11:10









      AFSAFS

      1354




      1354






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I know it has been 8 months since you've asked this but for posterity reasons and because I couldn't find an answer elsewhere, the DocumentRoot tag that you're looking for is under /opt/lampp/etc/httpd.conf






          share|improve this answer








          New contributor




          DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            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/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%2faskubuntu.com%2fquestions%2f1062284%2fchange-document-root-on-xampp-7-2-7-in-ubuntu-18-04%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














            I know it has been 8 months since you've asked this but for posterity reasons and because I couldn't find an answer elsewhere, the DocumentRoot tag that you're looking for is under /opt/lampp/etc/httpd.conf






            share|improve this answer








            New contributor




            DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              I know it has been 8 months since you've asked this but for posterity reasons and because I couldn't find an answer elsewhere, the DocumentRoot tag that you're looking for is under /opt/lampp/etc/httpd.conf






              share|improve this answer








              New contributor




              DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                I know it has been 8 months since you've asked this but for posterity reasons and because I couldn't find an answer elsewhere, the DocumentRoot tag that you're looking for is under /opt/lampp/etc/httpd.conf






                share|improve this answer








                New contributor




                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I know it has been 8 months since you've asked this but for posterity reasons and because I couldn't find an answer elsewhere, the DocumentRoot tag that you're looking for is under /opt/lampp/etc/httpd.conf







                share|improve this answer








                New contributor




                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 14 mins ago









                DrOverbuildDrOverbuild

                1011




                1011




                New contributor




                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                DrOverbuild is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    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%2f1062284%2fchange-document-root-on-xampp-7-2-7-in-ubuntu-18-04%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

                    List of shipwrecks in 1808...

                    Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                    How do I enter a file or directory with special characters in its name?How to write the path of a folder with...