February 2009
  Sun Mon Tue Wed Thu Fri Sat  
  1 2 3 4 5 6 7  
  8 9 10 11 12 13 14  
  15 16 17 18 19 20 21  
  22 23 24 25 26 27 28  

Archives

November 2009 (1)
October 2009 (1)
September 2009 (3)
August 2009 (2)
May 2009 (2)
March 2009 (1)
February 2009 (1)
January 2009 (4)
December 2008 (1)
September 2008 (1)
August 2008 (4)
June 2008 (2)
May 2008 (5)
April 2008 (4)
March 2008 (4)
February 2008 (5)
January 2008 (1)
December 2007 (1)
November 2007 (1)
October 2007 (2)

February 21, 2009

.htaccess made me crazy!!!

1:33 am on Sunday morning.
I am still awake.

Because .htaccess file has kept me from sleeping, REALLY!
A couple days ago, I've changed my server into the one in safe mode,which disturbs you re-write the files.

That server uses not a module edition PHP but CGI.

I use WordPress.


So I tried to make something "Move only a designated file by using PHP as CGI."
and put it into the same directry as "upload.php"
Because if all is moved as CGI, a start movement becomes slow.



And I wrote ".htaccess" and uploaded.

<files upload.php>
AddHandler application/x-httpd-phpcgi .php
</files>

I think I am smart.


But it didn't work.

....why?

...tried,again

....once more

....not again..



Finally I did it, almost over the midnight. pffff

Reason: wrong character encoding...that's all.

:))))))))))

PS. Mac OS is less useful when I want to make something special in my computer.

Ah....Tough day I need a holiday. Go out tomorrow.

Published at 16:47 / 20 comments / 441 visits
This post is public

( 1 post )

 

Català | Čeština nové | 中文 | Deutsch | English | Español | Esperanto | Ελληνικά | Français | Galego | Italiano | Nederlands | Português | More...