Re: [EMAIL PROTECTED] 2 Apache servers to run on a linux server

2005-09-05 Thread Mads Rosendahl
actually have a php.ini for each application if you like, running in same apache-instance. I don't know if it will affect performance, but it can be done. Just search google for "custom php.ini". Mads Rosendahl Michael Nishikawa wrote: Hi, I would like to know if anyone has had th

Re: AW: [EMAIL PROTECTED] virtualhost with file

2005-09-02 Thread Mads Rosendahl
There are so many html2pdf converters out there Eoghan, there must be at least one that can do it the other way around :) eoghan wrote: Mads Rosendahl wrote: That would be my preferred solution as well. Or simply specify the file as default-document for the site/folder with DirectoryIndex

Re: AW: [EMAIL PROTECTED] virtualhost with file

2005-09-02 Thread Mads Rosendahl
That would be my preferred solution as well. Or simply specify the file as default-document for the site/folder with DirectoryIndex? I never use "Options Indexes" !!! I don't want to allow directory browsing, unless needed in special cases. For security reasons. By why would you want to do

Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!

2005-08-24 Thread Mads Rosendahl
r. It is really appreciated. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com ----- Original Message - From: "Mads Rosendahl" <[EMAIL PROTECTED]&

Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!

2005-08-24 Thread Mads Rosendahl
If php module is not installed, then the code will display amongst the html because it won't be parsed. So you should see the code in plain text on the page if php doesn't work. If you get nothing at all, then maybe there are errors in the script and PHP-error-reporting-level prevents you from

Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!

2005-08-24 Thread Mads Rosendahl
I guess I misunderstood the "show the php code" part and took it litterally. Never mind my previous reply! Nick Jones wrote: --- Olivia Hardy <[EMAIL PROTECTED]> wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So

Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!

2005-08-24 Thread Mads Rosendahl
Hi Livi, I am a bit confused, because the server is not supposed to show the code for matters of security. PHP is parsed and the output is returned to the client. And if the code is on localhost (your pc?), can't you just locate the folder in the filesystem? We need more info :) Kind regards

Re: [EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Mads Rosendahl
Sorry, the php-code for rediret is "header("location: ".$url);". My memory is not what it used to be Brian Candler wrote: I would like users to be able to put an incantation in their .htaccess files which says: "if this directory was not accessed via SSL, then issue a redirect to https://

Re: [EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Mads Rosendahl
direct.php" you determine the requested resource with getenv('REQUEST_URI') and what else might be needed, slash "https://"; in front and do a location(''); Very simple and it works. Haven't done it in apache yet, but used to do it in IIS. Happy coding! Mad