strange rewrite(?)

Plus d'informations
il y a 4 ans 2 mois #98103 par markusmaier
markusmaier a créé le sujet : strange rewrite(?)
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

Connexion pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #98109 par mdekker
mdekker a répondu au sujet : strange rewrite(?)
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

Connexion pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #98119 par DenisChenu
DenisChenu a répondu au sujet : strange rewrite(?)
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,
		),

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: markusmaier

Connexion pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #98345 par markusmaier
markusmaier a répondu au sujet : strange rewrite(?)
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

Connexion pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant