Welcome, Guest
Username: Password: Remember me

TOPIC: strange rewrite(?)

strange rewrite(?) 1 year 4 months ago #98103

  • markusmaier
  • markusmaier's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Thank you received: 2
  • Karma: 2
Hi!

Trying to install limesurvey as a folder within a TYPO3installation. 1.92 is working fine.

Tried to install 2.00 current stable as well as 2.05beta5. After the final install stepp I get an 404. Accessing www.example.com/limesurvey is almost fine (neither name nor configured email adress do appear). Accessing www.example.com/limesurvey/admin fails (404). Error log shows somwthing really strange ("index.php" in the middle of the servers path)
[Tue Jul 16 14:58:19 2013] [error] [client xx.xx.xx.xx] File does not exist: /srv/www/mypath/limesurvey/index.php/admin

and
[Tue Jul 16 15:00:17 2013] [error] [client xx.xx.xx.xx] File does not exist: /srv/www/mypath/limesurvey/index.php/admin/authentication/sa/login, referer: www.example.com/limesurvey/admin/authentication/sa/login

Again: Limesurvey 1.92 works really fine - so the TYPO3's mod_rewrite commands seem to work well.
serve is an Apache 2, running on Debian. Install Tool check shows the green check marks for ALL items.

Any Ideas - even hints on "obvious" issues are welcome.

Markus
The administrator has disabled public write access.

strange rewrite(?) 1 year 4 months ago #98109

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
Just place it in it's own folder, outside the control of typo3 rewrite. Limesurvey needs it's own rewrite rules (see htaccess).

If that works, and you really need it under the typo3 file structure, make sure to exclude url's that include the limesurvey folder from the typo3 rewrite.
---
Menno Dekker
The administrator has disabled public write access.

strange rewrite(?) 1 year 4 months ago #98119

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 868
  • Karma: 257
Hello,

You can update your application/config/config.php too:
		'urlManager' => array(
			'urlFormat' => 'path',
			'rules' => require('routes.php'),
			'showScriptName' => false,
		),
To
'urlManager' => array(
			'urlFormat' => 'get',
			'rules' => require('routes.php'),
			'showScriptName' => true,
		),
The administrator has disabled public write access.
The following user(s) said Thank You: markusmaier

strange rewrite(?) 1 year 4 months ago #98345

  • markusmaier
  • markusmaier's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Thank you received: 2
  • Karma: 2
Works! Thank you very much. For documentation purposes:
  1. suggested edit is only possible after the installation is "finished"
  2. at the end of the installation there will be the 404
  3. do the suggested edit
  4. using phpMyAdmin insert the admin user as described at www.limesurvey.org/en/forum/installation...admin-password#91707

Done :-)

Best regards!

Markus
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.212 seconds
Donation Image