On Thu, Jul 07, 2016 at 06:49:21PM +0200, Daniel wrote:
Hi there,
> This is my htaccess Rule:
>
> RewriteCond %{DOCUMENT_ROOT}/$3 -f
> RewriteRule ^(.*?)/(.*?)/(.*)$ /$3
I suspect that some previous part of the htaccess file has a regex which
sets $3. What is that?
Or, alternatively:
What h
Same issue.
All images CSS Files and so on are not loaded :(
> Am 07.07.2016 um 19:19 schrieb praty...@hostindya.com:
>
> July 7 2016 10:19 PM, "Daniel" wrote:
>> Hi Everyone,
>>
>> i try to convert some rules from apache htaccess to nginx.
>>
>> This is my htaccess Rule:
>>
>> RewriteCond
July 7 2016 10:19 PM, "Daniel" wrote:
> Hi Everyone,
>
> i try to convert some rules from apache htaccess to nginx.
>
> This is my htaccess Rule:
>
> RewriteCond %{DOCUMENT_ROOT}/$3 -f
> RewriteRule ^(.*?)/(.*?)/(.*)$ /$3
>
> I tried these options but it seems not working:
>
> if (-f $documen
Hi Everyone,
i try to convert some rules from apache htaccess to nginx.
This is my htaccess Rule:
RewriteCond %{DOCUMENT_ROOT}/$3 -f
RewriteRule ^(.*?)/(.*?)/(.*)$ /$3
I tried these options but it seems not working:
if (-f $document_root/$3){
set $rule_0 1$rule_0;
}
if ($rule_0 = "1"
On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly wrote:
On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly wrote:
> The rewrite that you want doesn't happen, because the request
> /en/privacy.php is handled in:
>
> > location ~ \.php$ {
> > location / {
> > location ^~ /e
On Wed, Jun 11, 2014 at 06:20:50PM +0200, Luciano Mannucci wrote:
> On Tue, 10 Jun 2014 22:43:05 +0100
> Francis Daly wrote:
Hi there,
> > The rest of the config?
> :)
> Well, I've posted it in my previous request for help. Beeing
> longish I tried to spare some bandwith... :)
No worries.
It c
On Tue, 10 Jun 2014 22:43:05 +0100
Francis Daly wrote:
> The rest of the config?
:)
Well, I've posted it in my previous request for help. Beeing
longish I tried to spare some bandwith... :)
>
> ==
> server {
> rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
> rewrite ^/privacy.php$ /pagina.php
On Tue, Jun 10, 2014 at 06:00:13PM +0200, Luciano Mannucci wrote:
Hi there,
> works pretty weff if turned into:
>
> rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
> does not work if translated as:
>
> rewrite ^/privacy.php$ /pagina.php?k=privacy ;
>
> the request is passed unchanged and I get a
I'm still trying to move everything from apache to nginx.
I've successfully translated some rules from the .htaccess:
RewriteRule ^(.*)_k(.*)\.htm$ pagina.php?k=$2
works pretty weff if turned into:
rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ;
while
RewriteRule ^privacy.php$ pagina.php?k=priva
On Sat, 7 Jun 2014 11:39:55 +0100
Francis Daly wrote:
> add something like
>
> location ~ \.php$ {
> fastcgi_pass 127.0.0.1:9004;
> }
>
> so that nginx knows to handle this request the way you want it to.
Works! :-) :)
I had to add few other things (it was looking f
On Sat, Jun 07, 2014 at 12:08:05PM +0200, Luciano Mannucci wrote:
> On Sat, 7 Jun 2014 10:08:54 +0100
> Francis Daly wrote:
Hi there,
> > * what request do you make?
> new.assirm.it/en/
>
> > * what response do you get?
> The index.php page source.
>
> > * what response do you want?
> The php
On Sat, 7 Jun 2014 10:08:54 +0100
Francis Daly wrote:
> On Sat, Jun 07, 2014 at 10:50:05AM +0200, Luciano Mannucci wrote:
>
> Hi there,
> > What did I have wrong?
>
> You left out some useful information:
>
> * what request do you make?
new.assirm.it/en/
> * what response do you get?
The inde
On Sat, Jun 07, 2014 at 10:50:05AM +0200, Luciano Mannucci wrote:
Hi there,
> I have one site in php developped by the customer that seemed
> ok till I discovered that it has a subdirectory with its own .htacess
> file. Trying to add the rewriting rules makes the php "dead", only in
> the cited s
Hello list,
I'm moving a bunch of sites from Apache to nginx 1.5.13 :).
Everything went fine for the static ones and for the sites under wp or
joomla. I have one site in php developped by the customer that seemed
ok till I discovered that it has a subdirectory with its own .htacess
file. Trying
14 matches
Mail list logo