LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2018, 10:58 AM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Dokuwiki farm -- invalid request


I am trying to create a Dokuwiki farm on a remote server.

Dokuwiki is installed at server_name in /var/www/dokuwiki and is accessible and working at https://server_name/dokuwiki.

I manually created /var/www/farm, chmod 755.
chown -R apache:apache /var/www/farm
I installed and ran the farmer plugin.
I named the new animal 'projects'.
The directories /var/www/farm/projects/[conf|data] exist.

I try to access the new animal at https://server_name/dokuwiki/!projects but am greeted with an "invalid request" page.

The apache log only shows "GET /dokuwiki/!projects HTTP/1.1" 404 573.

CentOS 7 with PHP 7.1 from the SCL repo if that makes a difference. I looked at the Dokuwiki wiki but that did not help.

Any ideas?

Thanks again.

Last edited by upnort; 08-27-2018 at 11:21 AM.
 
Old 08-27-2018, 11:25 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,728

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by upnort View Post
I am trying to create a Dokuwiki farm on a remote server.

Dokuwiki is installed at server_name in /var/www/dokuwiki and is accessible and working at https://server_name/dokuwiki.

I manually created /var/www/farm, chmod 755.
chown -R apache:apache /var/www/farm
I installed and ran the farmer plugin.
I named the new animal 'projects'.
The directories /var/www/farm/projects/[conf|data] exist.

I try to access the new animal at https://server_name/dokuwiki/!projects but am greeted with an "invalid request" page.

The apache log only shows "GET /dokuwiki/!projects HTTP/1.1" 404 573.

CentOS 7 with PHP 7.1 from the SCL repo if that makes a difference. I looked at the Dokuwiki wiki but that did not help.

Any ideas?

Thanks again.
Why the ! in the url?
And if farm is at the same level as dokuwiki, then the url should be https://server_name/farm/projects ...dokuwiki is not part of the path to farm -- hence the 404 (not found) error.

Last edited by scasey; 08-27-2018 at 11:28 AM.
 
Old 08-29-2018, 05:24 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Why the ! in the url?
Because that's what the DokuWiki explains. That "!" works on my home system but for some reason fails on a remote server I am configuring.

I really need an ELI5 tutorial for creating farms. There is some crucial piece of information missing on the DokuWiki wiki that I am not seeing. I have one working instance of a farm but what I did to achieve success compared to the remote server is not obvious to me.
 
Old 08-29-2018, 05:42 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,728

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by upnort View Post
Because that's what the DokuWiki explains. That "!" works on my home system but for some reason fails on a remote server I am configuring.

I really need an ELI5 tutorial for creating farms. There is some crucial piece of information missing on the DokuWiki wiki that I am not seeing. I have one working instance of a farm but what I did to achieve success compared to the remote server is not obvious to me.
Sorry, I misled you with that unrelated question.
Again, if the farm is at /var/www/farm, then the url would be https://server_name/farm/!projects ...I don't see how dokuwiki is part of the path to farm
 
Old 08-29-2018, 06:52 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
then the url would be https://server_name/farm/!projects
Thanks. I understand the gist but that does not succeed.

The following does succeed on my home server but fails on the remote server:

http://server_name/dokuwiki/!projects/
 
Old 08-29-2018, 06:56 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,728

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
OK. I’m stumped.
All have left to suggest is a careful comparison of the two installations to see what’s different. (And I presume you’ve already done that)
 
Old 08-29-2018, 07:55 PM   #7
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
(And I presume you’ve already done that)
Yes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DokuWiki vs AsciiDoc syntax; new article in SlackDocs and request for comments. Didier Spaier Slackware 3 10-04-2015 04:24 PM
Invalid URI in request X-a: b decenter Linux - Server 2 09-08-2011 11:06 PM
Invalid URI in request GET HTTP/1.1 Stephan_Craft Linux - Server 3 04-25-2010 04:44 AM
squid proxy: Invalid request espiya7 Linux - Networking 16 08-20-2007 10:53 AM
apache error : invalid method in request sharad Linux - Networking 1 12-16-2005 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration