[nag] Save Task

Claude Tompers claude.tompers at restena.lu
Wed May 14 09:20:26 UTC 2014


On Wed, 14 May 2014 10:57:45 +0200
Arjen de Korte <arjen+horde at de-korte.org> wrote:

> Citeren Claude Tompers <claude.tompers at restena.lu>:
> 
> > On Wed, 14 May 2014 08:28:13 +0200
> > Ralf Lang <lang at b1-systems.de> wrote:
> >
> >> On 14.05.2014 07:49, Claude Tompers wrote:
> >> > Hello,
> >> >
> >> > I have a small problem with saving tasks in nag. I add a task,
> >> > click save and I get directed to /nag/t/save which does not
> >> > exist. I suppose I'm missing some kind of redirect here ? Maybe
> >> > because we're running Horde on NGINX ? What file should I
> >> > redirect that URL to, to handle the saving of a task ?
> >> >
> >>
> >> You need to convert the redirect rules in the .htaccess files to
> >> nginx rewrite rules.
> >>
> >>
> >
> > I thought so, but I don't have a .htaccess file in the folder nag.
> > All other htaccess files in subfolder only say "Deny from all".
> 
> The .htaccess file that is meant here is in the root of your Horde  
> installation and should contain something like
> 
>      # IMPORTANT: DO NOT EDIT THIS FILE!
>      # It will be overwritten with any future upgrade.
> 
>      allow from all
> 
>      <IfModule mod_rewrite.c>
>          RewriteEngine On
>          RewriteRule .* -
> [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond
> %{REQUEST_FILENAME}  !-d RewriteCond   %{REQUEST_FILENAME}  !-f
>          RewriteRule ^(.*)$ rampage.php [QSA,L]
>      </IfModule>
> 
> 

Hi Arjen and Ralf,

Yes, I found the .htaccess file. My nginx config now contains the
following line :

try_files $uri $uri/ /rampage.php?$query_string;

This seems to work. Thanks a lot for your help.

kind regards,
Claude

-- 
Claude Tompers
Ingénieur réseau et système
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche 6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.horde.org/archives/nag/attachments/20140514/4269b4f5/attachment.bin>


More information about the nag mailing list