On 09-Feb-09, at 7:27 PM, Chintan Zaveri wrote:



On 09-Feb-09, at 6:39 PM, Evan Prodromou wrote:

Chintan Zaveri wrote:
Dear Laconica Dev,

I installed Laconica in /var/www/html/mylaconica/

All was working well until I decided to enable fancy URLs. I created a rewrite.conf containing the contents from sample htaccess in a new Directory section.

Restarted httpd.

Now, as I try to access http://myhost/mylaconica/ I go into a Redirect Loop. And the following message is repeated many times in the httpd error_log.

PHP Notice: Undefined index: action in /var/www/html/mylaconica/ index.php on line 33

Any idea where I can start debugging this?
So, when the entry point index.php is called without an 'action' parameter, it redirects to itself with action=public. For some reason, the action parameter isn't coming through for your config.

I've never heard of a rewrite.conf file, but my guess is that yours isn't being applied. Might want to start by testing it.

-Evan


Evan,

Thanks! The rewrite.conf is just my file in conf.d containing all the stuff from the sample htaccess. (loaded without errors upon httpd restart)

I disabled it and tried using the .htaccess but that leads me to the same. (not working - redirect loop - undefined index php notice).

(I religiously followed the Fancy URLs section in http://laconi.ca/darcs/README)

I'll keep searching .. but do let me know if you have any tips.

Thanks and regards,

Chintan.


Evan/Laconica Dev,

I realised, this was because I had disabled .htaccess to override ... completely my fault.

Sorry for adding to the traffic on this list. This is resolved now and works like a charm.

I changed "AllowOverride None" to "AllowOverride All" in httpd.conf for /var/www/html.

Many thanks and kind regards,

Chintan Zaveri.




_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to