Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
I added this to my httpd.conf:
---snip---
RewriteEngine on
RewriteCond %{HTTP_HOST}^nu\.osd\.dk$
RewriteRule ^.*$http://www.osd.dk/main.php?m=nu
[R=301,L]
Note: The example I wrote is only 3 lines, each starting with RewriteX!
Beware of unintended line breaks caused by newsposting. :)
--
Tais M. Hansen
Tais M. Hansen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
---snip---
RewriteEngine on
RewriteCond
I think I remember doing it a while ago. But I think you need to use
mod_alias instead. Take a look here:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
The Redirect/RedirectMatch/RedirectTemp might do it.
--
Tais M. Hansen
Martin Lindhe [EMAIL PROTECTED] wrote in message
I think if you use RedirectMatch temp ... it'll work...
-tais
Martin Lindhe [EMAIL PROTECTED] wrote in message
831D8A28AF18D5119EAA00E018C5B81C23BA11@MAIL1">news:831D8A28AF18D5119EAA00E018C5B81C23BA11@MAIL1...
I think I remember doing it a while ago. But I think you need to use
mod_alias
AFAIR it's [P]ermanent and [T]emporary... But I could be wrong!!
-tais
Martin Lindhe [EMAIL PROTECTED] wrote in message
831D8A28AF18D5119EAA00E018C5B81C23BA13@MAIL1">news:831D8A28AF18D5119EAA00E018C5B81C23BA13@MAIL1...
useful link: http://www.apache.org/docs-2.0/misc/rewriteguide.html
I am wrong! ;)
Tais M. Hansen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
AFAIR it's [P]ermanent and [T]emporary... But I could be wrong!!
-tais
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This is what they mean:
(from http://www.apache.org/docs-2.0/mod/mod_rewrite.html)
***
'proxy|P' (force proxy)
This flag forces the substitution part to be internally forced as a proxy
request and immediately (i.e., rewriting rule processing stops here) put
through the proxy module.
Hi!
I just came across this weird thing. Bug? You tell me!
print (int)((8.85-8)*100);
I would think the line above would print 85. But for some reason, it
prints 84?? Can anyone tell me why that is?
--
Intent A/S
Tais M. Hansen
Web Developer
--
PHP General Mailing List (http
Hi,
Well... I don't know if this is any help but I ran your code under PHP/4.0b4
and got:
"brbrInside2 brInside2 brInside2 "
Seems right to me?
--
--
Intent A/S
Tais M. Hansen
Web Developer
""Plutarck"" [EMAIL PROTECTED] wrote in message
9asamr$865$[EMAIL PROT
Actually I ran it under PHP/4.0.4pl1! Forgot which server I were using! ;)
But great that you got it working! I too hate seemingly illogical errors! :)
--
--
Intent A/S
Tais M. Hansen
Web Developer
""Plutarck"" [EMAIL PROTECTED] wrote in message
9auchs$jku$[EMAIL PROTECT
with FTP can't be manipulated with PHP. Can't create new files
and can't unlink the old! No permission.
I must admit I've come to hate the web hotel this is all running on!
Thanks!
--
--
Intent A/S
Tais M. Hansen
Web Developer
""John Almberg"" [EMAIL PROTECTED] wrote in mess
SOLVED!
Setting TMPDIR="site-specific-upload-directory" at execution time of the PHP
parser, made it work. The directory must have a+rwx though!
--
--
Intent A/S
Tais M. Hansen
Web Developer
""[Intent A/S] Tais M. Hansen"" [EMAIL PROTECTED] wrote in messa
with the uid of what php is running with and since the
script I'm working with will always have a different ownership/uid than the
php process, I won't be able to read this file.
Does anyone know how to get around this problem?
Thanks in advance!
--
--
Intent A/S
Tais M. Hansen
Web Developer
13 matches
Mail list logo