Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
FuelPHP Installation on real webserver with Plesk
  • Hi there,

    after working a lot with FuelPHP locally, I tried today to get this runnign on my webserver with no luck at all. :-(

    Under htdocs I have:
    - fuel
    - public

    I assume that I need to have there a .htaccess which points this domain to the righz directory.

    Tried this with:

      <VirtualHost *>
        DocumentRoot /var/www/vhosts/tierpensionen-portal.com/httpdocs/public/
        ServerName staging.tierpensionen-portal.com
      <Directory  /var/www/vhosts/tierpensionen-portal.com/httpdocs/public/>
        ##Order allow,deny
        Allow from all
      </Directory>
      </VirtualHost>

    But all I receive is an 500 error. :-(

    As I am an absolute beginner with VirtualHosts, I hope someone can help me.

    Thanks in advance
    Kay
  • The virtualhost definition looks ok.

    A 500 is usually a rewrite issue. Are you using the htaccess supplied with FuelPHP?

    What happens if you request http://staging.tierpensionen-portal.com/index.php (which would bypass the rewrite)?
  • I have not changed anything in the .htaccess files in fuel.

    Only modified the local ones from XAMPP.

    With http://www.tierpensionen-portal.com/index.php I'll get the same 500 error.
  • If that still happens when you rename the .htaccess to something else (to rule out it's still being used), than the issue is server side (assuming your code doesn't produce a 500 error. The framework doesn't).

    I have no plesk experience, and don't know the setup of your server, so I wouldn't know what the issue could be.
  • I found it out.
    Just had to move to the correct /public folder in Plesk BY Plesk. :-)
    After upgrading to the new version it was hard to find where to make it.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion