Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 10:23:15

Author Topic: Testing Kloxo-mr 6.5.1b on a VM  (Read 11272 times)

0 Members and 2 Guests are viewing this topic.

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: Testing Kloxo-mr 6.5.1b on a VM
« Reply #15 on: 2014-07-04, 14:20:12 »
Hi Mustafa,

Reproduced in a new clean machine, just installing kloxo-mr:

http://IP/~admin/ with an index.php only with these contents:
<?php
echo "Hello World";
?>

Outputs "Access denied. "
I'm pretty sure php is not allowing php execution in admin folder with default setup on "default domain" option (for those that just want to test kloxo-mr on a vm...

Kloxo 6.5.0.f-2014062701  here
« Last Edit: 2014-07-04, 14:22:18 by nmpribeiro »

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: Testing Kloxo-mr 6.5.1b on a VM
« Reply #16 on: 2014-07-07, 08:00:37 »
One last thing,

Needed mod_rewrite to work on IP/~admin/projectX/someUrlRewrite/, having projectX/index.php to rewrite from index.php?url=someUrlRewrite into projectX/someUrlRewrite

To do so, I needed to edit /etc/httpd/conf/httpd.conf and changed "AllowOverride None" to "AllowOverride All" in "<Directory />" tag.

Hum... not quite "out of the box"...

Offline nmpribeiro

  • Valuable Member
  • *
  • Posts: 69
  • Karma: +1/-0
    • View Profile
Re: Testing Kloxo-mr 6.5.1b on a VM
« Reply #17 on: 2014-07-07, 13:34:56 »
Also:

from phpinfo(),
Environment
user: apache
home: /var/www

so... my advice is to backup /etc/php-fpm.d/default.conf and overwrite default.conf by admin.conf. Then IP/~admin/ will behave as if it was the actual domain on a production server.

*Disclamer: Use this only for test purpose, my lack of understanding must not be in no way liable for your "lack of understanding". Read what php and php-fpm are all about in the apropriate man pages please*

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Testing Kloxo-mr 6.5.1b on a VM
« Reply #18 on: 2014-07-07, 14:42:47 »
Try update to latest version where default with open_basedir to /home.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.069 seconds with 22 queries.

web stats analysis