Page 3 of 38 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 376

Thread: HOWTO: Setup easy web development environment (XAMPP)

  1. #21
    Join Date
    Apr 2006
    Beans
    95
    Distro
    Ubuntu 6.06

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Quote Originally Posted by petervk View Post
    I don't think it is possible to create a soft link to a fat32 drive. I'm pretty sure its a ext2/3 only thing and cannot span different filesystems.

    What you can do is change the "DocumentRoot" in the httpd.conf file for XAMPP.

    Open a terminal:
    Code:
    sudo cp /opt/lampp/etc/httpd.conf /opt/lampp/etc/httpd.conf.backup
    sudo gedit /opt/lampp/etc/httpd.conf
    Now Scroll down to the line:
    Code:
    DocumentRoot "/opt/lampp/htdocs"
    and change it to point to your fat32 drive. (? "/media/fat32/" ?)

    I'd suggest to point it only to a web subdirectory on the drive as serving up the root of the drive will put all of the files on it onto the webserver and allowing anyone to view them.

    Changing this will make the fancy http://localhost/xampp test stuff stop working. (It is installed into /opt/lampp/htdocs/) Everything else should work.

    Hope that helps.
    I did this but I get a 403 forbidden error.

  2. #22
    Join Date
    Mar 2006
    Beans
    80
    Distro
    Ubuntu 6.06

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I followed the tut, but when I goto http://localhost, i get this
    Index of /

    Icon Name Last modified Size Description

    Apache/2.0.55 (Ubuntu) Server at localhost Port 80

  3. #23
    Join Date
    Mar 2006
    Beans
    80
    Distro
    Ubuntu 6.06

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I followed the tut, but when I goto http://localhost, i get this
    Index of /

    Icon Name Last modified Size Description

    Apache/2.0.55 (Ubuntu) Server at localhost Port 80

  4. #24
    Join Date
    Mar 2006
    Location
    Toronto, Canada
    Beans
    855

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I would assume yes too, but that isn't always the case with new apps on Ubuntu. Most apps that deal with users and permissions need to be packaged by a MOTU to function properly in Ubuntu.

    See mysql-admin for example. Very hard to add new users thanks to the unique way that Ubuntu deals with sudo and permissions. Many other apps will not install/run thanks to sudo.

    Right now the only reason to recommend xampp is that you have access to php 5.1, which is necessary for certain applications.

    For those that require mysql4 or php4, xampp looks to be no good. Perhaps there are earlier versions of xampp that allow this.

    And of course, if you can backup and redeploy, then it's, "Yeah, baby! Yeah!"

    It will be a few days before I can find out for myself and report.
    Last edited by adamkane; August 2nd, 2006 at 08:09 AM.

  5. #25
    Join Date
    Dec 2005
    Beans
    6

    Re: HOWTO: Setup easy web development environment (XAMPP)

    I'm just wondering how upgrading is handled. Is the functionality built in or do you have to manually do updates?

  6. #26
    Join Date
    Nov 2005
    Location
    Little Weighton, Hull, UK
    Beans
    1,057

    Re: HOWTO: Setup easy web development environment (XAMPP)

    All was great and working until I did the reccomended security settings. So I am new to this side of things, but should the passwords I set not work with my username, or is there a default username, or is this an issue because in Ubuntu i have to run the security thing as sudo?
    ~~ Ubuntu Forums Firefox/Flock Menu ~~ Ubuntu User Number 206 ~~ Linux user number 403379 ~~

    ~~ If someone asks you to sudo rm -rf anything don't do it. ~~

  7. #27
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    Hidden!

    Re: HOWTO: Setup easy web development environment (XAMPP)

    If I'm correct the default username is set to "lampp".
    This should work with the password you have set.
    This info I saw when I run the security options.
    Set another password myself and shall now test to see if it will work again.
    Resistance is futile.....you will be assimilated!

    Registered Linux User 418427.
    #Ubuntu User 3226#

  8. #28
    Join Date
    Oct 2005
    Location
    Burlington, ON, Canada
    Beans
    104
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Face1:
    That looks like a permissions problem. Check the permissions on the directory you are accessing. It's possible that the httpd program cannot access the data therefore giving you a 403 error. If you keep having problems you could consider changing your fat32 drive to ext3 and use the ext2ifs driver for windows: http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm Or possibly shrink your fat32 partition and create a special ext3 web development partition.

    One thing about the ext2ifs driver: I would not recommend enabling access to your root directory through windows. Windows may screw it up. I wouldn't even give it access to your home partition (If you have it on a seperate partition). Windows makes a lot of files secretly and can mess up ext3 partitions so its best to limit its access to a controlled area.

    Dylan103:
    Did you do the "DocumentRoot" change over? Because it looks like it is pointing to an empty directory insted of the normal "/opt/lampp/htdocs"
    Open the /opt/lampp/etc/httpd.conf file and check where the "DocumentRoot" is pointing too. It should be /opt/lampp/htdocs. If you changed it on purpose make sure there is something in the directory. XAMPP will not display just any file in the directory, because it hides some for security. Insert a text file or a folder to see if it is working. Apache will not just display your *.html files as it hides them, it will only start displaying your webpage if the home page is named index.html/.php.

    Keep posting your questions, and I'll try to keep answering them.
    Peter VK

  9. #29
    Join Date
    Oct 2005
    Location
    Burlington, ON, Canada
    Beans
    104
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup easy web development environment (XAMPP)

    adamkane:

    Adding a user in phpmyadmin:





    Everything seems to just work. I'm no mysql expert, but I just created a random user with any permissions I wanted.
    Peter VK

  10. #30
    Join Date
    Jul 2006
    Beans
    78

    Re: HOWTO: Setup easy web development environment (XAMPP)

    Quote Originally Posted by rlynch View Post
    I install this, and nothing happens when I go to http://localhost

    I get this error

    Code:
    The connection has timed out
    
          
    
          
          
          
    
          
            
            
    
              
    
    The server at 127.0.0.1 is taking too long to respond.
    
            
    
    
            
            
    
    
        *   The site could be temporarily unavailable or too busy. Try again in a few
              moments.
    
        *   If you are unable to load any pages, check your computer's network
              connection.
    
        *   If your computer or network is protected by a firewall or proxy, make sure
              that Firefox is permitted to access the Web.

    When I do a ps -ef I get this, so I see httpd is running
    Code:
    nobody    9986  9945  0 18:47 ?        00:00:00 /opt/lampp/sbin/mysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --nobody    9988  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9989  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9990  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9991  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9992  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    nobody    9993  9919  0 18:47 ?        00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5
    bump. . .are there maybe some logs I could paste or something?

Page 3 of 38 FirstFirst 1234513 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •