Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Problem with Apache & wordpress setup on Ubuntu

  • 06-05-2009 7: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,830 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