Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Problem with Apache & wordpress setup on Ubuntu

  • 06-05-2009 08:57PM
    #1
    Registered Users, Registered Users 2 Posts: 872 ✭✭✭


    Hi,

    I am trying to install wordpress on my Ubuntu VPS.

    I have the site enabled as www.example.com. The file is like
    <VirtualHost *>
    ServerAdmin me@example.com
    ServerName www.example.com
    ServerAlias example.com
    
    DirectoryIndex index.php
    DocumentRoot /var/www/example.com
    <Directory /var/www/example.com/>
      AllowOverride All
      Order Deny,Allow
      Allow from all
    </Directory>
    </VirtualHost>
    

    When i try and visit the address in a browser it seems to be getting stuck in some infinite loop, where it almost loads and then restarts loading.

    Before i setup the .htaccess file i was getting a different error, when i tried to visit www.example.com/index.php the download file dialog came up instead of loading the page.

    I have 3 other sites enabled that run on Django, they all use <VirtualHost *>

    Im not much of a server admin so it could be an issue with something else.

    Does anyone know what else i should check to resolve this issue ?

    Thanks in advance.


Comments

  • Closed Accounts Posts: 1,710 ✭✭✭RoadKillTs


    Think this is because you dont have PHP installed.
    Maybe a mod could move this to the Web Development forum.


  • Technology & Internet Moderators Posts: 28,859 Mod ✭✭✭✭oscarBravo


    Moved from Open Source.


  • Closed Accounts Posts: 275 ✭✭Hydrosylator


    grahamor wrote: »
    I have the site enabled as www.example.com. The file is like
    <VirtualHost *>
    ServerAdmin me@example.com
    ServerName www.example.com
    ServerAlias example.com
    
    DirectoryIndex index.php
    DocumentRoot /var/www/example.com
    <Directory /var/www/example.com/>
      AllowOverride All
      Order Deny,Allow
      Allow from all
    </Directory>
    </VirtualHost>
    

    Ugh, what's all that stuff?
    Get Lampp, it's easy to use, and never gives me any trouble.
    I turn it on and off in the terminal.
    It has Apache, MySQL, php and I don't know what the last P is.

    Actually the people who give it way call it Xampp for Linux, so people don't think they're actually LAMP, which is much more broad.

    So go the Xampp for Linux page.

    You can use Filezilla and connect to server : 'localhost' and use the user name and passwords you set up for it.

    It's the perfect environment for me when I'm developing sites.


  • Registered Users, Registered Users 2 Posts: 872 ✭✭✭grahamor


    Thanks for the info everyone.

    The .htaccess file was causing the looping

    Installed phpMyAdmin and everything is cool.


Advertisement