Announcement

Collapse
No announcement yet.

LAMP

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LAMP

    hi,

    This is my first post to this forum. I am a newbie to the Linux world. I somehow managed to setup LAMP in the kubuntu 9.10. When i try to access the localhost i get a page that says "It Works". When i put a new php file in the www folder directly it its working fine. But when i create a new folder in the www directory say test and try to access it using the url http://localhost/test/ it says the path is not found or something like that[sorry i am browsing from another pc]. I don't know why this is happening.

    When i was in windows i was using the WAMP. In there i never experienced anything like this. Could you please help me to solve this.

    #2
    Re: LAMP

    Welcome minix! (nice name, by the way)

    I think you need to look at the Ubuntu Server Guide. It talks about the "sites-available" and "sites-enabled" files. Also, there is a utility called a2ensite for setting up symbolic links. I haven't tried it myself so beware. I couldn't find a 9.10 server guide (is there one?) but this aught to work: https://help.ubuntu.com/8.04/serverg...-configuration

    Comment


      #3
      Re: LAMP

      Install LAMP on Ubuntu 9.10 Karmic Koala might provide some useful insight.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: LAMP

        hi folks,

        i appreciate your help. But the only thing i need to know is how to create a new folder in www and access it in the browser. i did what they said in the ubuntu manual. Thanks Ole Juul,Snowhog.

        Thank you all.

        Comment


          #5
          Re: LAMP

          Originally posted by minix
          hi folks,

          i appreciate your help. But the only thing i need to know is how to create a new folder in www and access it in the browser.

          Thank you all.
          Sorry, I thought you were wanting to set up multiple sites. I'm also no expert (I just read the doc) so that's why I deferred to something more authoritative. If you look at the link I gave you, a little bit down the page under the heading "DocumentRoot", you will see that it says:
          The DocumentRoot directive specifies where Apache should look for the files that make up the site.
          On one server here I use /home/www, you can use anything you want. Your choice goes on about the fourth line down in the /etc/apache2/sites-enabled/000-default file. You'll see it. I hope that helps.

          Comment


            #6
            Re: LAMP

            Thank you guys.

            You know what i messed up with the graphic card driver and i had to reinstall everything. This time I installed the lampserver insted of installing all separately and configure thereafter. It works. It fulfills everything that i was looking for.

            But i really appreciate your quick responses.

            Comment

            Working...
            X