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-04-28, 09:08:06

Author Topic: Xenforo 1.5 with Kloxo MR  (Read 3670 times)

0 Members and 1 Guest are viewing this topic.

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Xenforo 1.5 with Kloxo MR
« on: 2016-04-15, 14:33:32 »
Dear MR!
I have a 4rum in my server. I have some trouble with:
http://prntscr.com/asjrph

When i have turn off Optimise URL friendly seo by Xenf, everything is ok. But when i turn on, i can't attach any image or file and cant edit, delete or click to avatar of user (Pop up funtion of Xenf - follow me) This because of url friendly with Nginx.

I have using K-MR 7.0b and centos 6.7 full update. My forum is Xenf 1.5. Have any ideas for that MR?

Thanks!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #1 on: 2016-04-15, 14:47:16 »
Is it Xenforo?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #2 on: 2016-04-15, 14:53:19 »
Yes MR!
Xenforo 1.5!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #3 on: 2016-04-15, 14:53:55 »
1. Add file xenforo.conf in /opt/configs/hiawatha/toolkit with content:
Code: [Select]
UrlToolkit {
    ToolkitID = xenforo
    RequestURI exists Return
    Match [^?]*(\?.*)? Rewrite /index.php$1
}
2. Add .hiawatha file in document root (example: /home/admin/domain.com) with content:
Code: [Select]
UseToolkit=xenforo3. Restart web server with 'sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #4 on: 2016-04-15, 14:59:38 »
1. Add file xenforo.conf in /opt/configs/hiawatha/toolkit with content:
Code: [Select]
UrlToolkit {
    ToolkitID = xenforo
    RequestURI exists Return
    Match [^?]*(\?.*)? Rewrite /index.php$1
}
2. Add .hiawatha file in document root (example: /home/admin/domain.com) with content:
Code: [Select]
UseToolkit=xenforo3. Restart web server with 'sh /script/restart-web -y'.
You mean: /opt/configs/hiawatha/conf/toolkits ?
And .hiawatha dont need any text name?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #5 on: 2016-04-15, 15:03:38 »
1, Yes for /opt/configs/hiawatha/conf/toolkits
2. Just .hiawatha (dothiawatha; like .htaccess for apache)
« Last Edit: 2016-04-15, 16:45:58 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #6 on: 2016-04-15, 15:15:06 »
500 external error for website have .hiwatha MR!

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #7 on: 2016-04-15, 15:58:18 »
I reboot and not 500 error but error as i post above not resolve!
Thanks very much!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #8 on: 2016-04-15, 16:46:32 »
No .hiwatha but .hiawatha.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #9 on: 2016-04-15, 17:19:29 »
Thanks MR but not success!
Edit post:
http://prntscr.com/aslxp4
upload file:
http://prntscr.com/aslxyz

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #10 on: 2016-04-15, 17:30:16 »
Better asking to https://www.hiawatha-webserver.org/forum

Don't forget to include .htaccess code for xenforo.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #11 on: 2016-04-15, 17:31:20 »
Dear MR!

I'm using nginx for xenforo T_T! Not Hiawatha!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #12 on: 2016-04-15, 17:43:26 »
Sorry. I am wrong about it.

I have no clue about custom rewrite rule in nginx for xenforo. Better use google to searching it. Asking here to implementing it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Xenforo 1.5 with Kloxo MR
« Reply #13 on: 2016-04-15, 18:03:53 »
From Xenforo: To enable friendly URLs in Nginx, you must put the following in your server configuration. The /xf/ paths must be changed to match your XenForo installation path. Have any ideas for this MR?
Code: [Select]
location /xf/ {
try_files $uri $uri/ /xf/index.php?$uri&$args;
index index.php index.html;
}

location /xf/internal_data/ {
internal;
}
location /xf/library/ {
       internal;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_pass    127.0.0.1:9000;
fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
include         fastcgi_params;
}

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Xenforo 1.5 with Kloxo MR
« Reply #14 on: 2016-04-15, 18:13:45 »
Copy php-fpm_*.conf to custom.php-fpm_*.conf in /opt/configs/nginx/conf/globals and then add your code (except 'location ~\.php$ {}' portion to this custom files.

And then run 'sh /script/fixweb; sh /script/restart-web -y'.
..:: 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.031 seconds with 18 queries.

web stats analysis