Re: URL redirect not wanted - Re: my POST values are not being received

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have you restarted the server after each change to the config - I don't think that's necessary with htaccess files bt it might make a difference?

Pete

> On 1 May 2022, at 07:13, gordonisnz@xxxxxxxxx wrote:
> 
> Hmm  a weekend wasted  - thought it was going, but that only lasted 5
> minutes - now not going.
> 
> 1) Ive moved my "office" script into /office2/ subdirectory
> 
> 2) no htaccess in my office2 subdirectory.  changed all links/URLs in
> my HTML output to go to /office2/
> 
> 3) the htaccess in my root/main directory has lines to EXCLUDE the
> /office2/ directory but I still get redirected to /office/ when I
> submit my form.
> 
> my main / top htaccess is:-
> 
> RewriteEngine On
> RewriteBase /
> 
> RewriteRule ^(css) - [L]
> RewriteRule ^office2/ - [L]  - QUESTION: (DOES THIS EXCLUDE SUBDIRECTORY ??)
> RewriteRule ^login login.php [NC,QSA,L]
> RewriteRule ^(.*)/(.*)$ index.php [NC,QSA,L]
> RewriteRule ^(.*)$ index.php [NC,QSA,L]
> 
> 
> A weekend wasted on a small script. I've got 20 different routines I
> wanted to be added, & I can't even do 1 routine - it's now 6 PM on
> Sunday night I started after work on Friday.
> 
> any ideas?




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux