Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : strange rewrite(?)

strange rewrite(?) il y a 9 mois 2 jours #98103

  • markusmaier
  • Portrait de markusmaier
  • Hors ligne
  • Fresh Lemon
  • Messages : 12
  • Remerciements reçus 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
L'administrateur a désactivé l'accès en écriture pour le public.

strange rewrite(?) il y a 9 mois 2 jours #98109

  • mdekker
  • Portrait de mdekker
  • Hors ligne
  • LimeSurvey Team
  • Messages : 340
  • Remerciements reçus 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
L'administrateur a désactivé l'accès en écriture pour le public.

strange rewrite(?) il y a 9 mois 2 jours #98119

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5845
  • Remerciements reçus 715
  • Karma: 222
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,
		),
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: markusmaier

strange rewrite(?) il y a 8 mois 3 semaines #98345

  • markusmaier
  • Portrait de markusmaier
  • Hors ligne
  • Fresh Lemon
  • Messages : 12
  • Remerciements reçus 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
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.387 secondes
Donation Image