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: 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: [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] 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 now

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
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] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005

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

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