Re: [cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread max . augsburg
Hi, Simon,   I think that DirectoryIndex is the wrong option (I think this option is only for the case,  that your page is requested without any path argument (especially instead of the the usualyl called index.html). You have to rewrite all requests over your CGI-script. I have the following

Re: [cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread Thomas Krichel
Simon Cruickshank writes > I can configure apache so that > http://localhost/cgi-bin/WebApp.pl/thisrunmode works. > > But I want to simplify the url to http://localhost/thisrunmode but > when I configure the DirectoryIndex of the home directory to be > /cgi-bin/WebApp.pl it breaks AutoRunmode

[cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread Simon Cruickshank
Hi All, Sorry if this is a little off topic or has been answered before. I used the tutorial at http://www.perlmonks.org/?node_id=622071 to create a website. It works great, but I have an issue with configuring Apache to play nice with AutoRunmode I can configure apache so that

Re: [cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread jerry
Since you're just getting started, maybe you don't need autorunmode? I have a pretty extensive cgiapp application, and I've never used it. You just set up your run modes in setup() - it's not that much typing. Back when I was putting my stuff together, I read that autorunmode was fragile, and a

Re: [cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread max . augsburg
Yes, I agree with Jerry. With "$self->mode_param(path_info => 1);"  in the setup section and a corresponding Apache setup you can get short URLs without the AutoRunMode module that I don't know. And if you want more flexibility, you can try my patched CGI Application version

Re: [cgiapp] AutoRunmode vs Apache issue

2017-05-25 Thread Stephen Carville
On 05/25/2017 03:04 AM, Simon Cruickshank wrote: > Lereta Email Checkpoint: External email. Please make sure you trust this > source before clicking links or opening attachments. > > ** > > Hi All, > > Sorry if this is a