RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Joost de Heer
>> I don't have ssl configured at all on that server, and won't >> be using it. Any ideas why that would be on there? I tried >> searching the apache site, and can't seem to find the answers. > > I would search for 443 in your {server}/conf/httpd.conf file. See what > you need to comment out. Don

RE: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Axel-Stéphane SMORGRAV
I have made a modification to apachectl shipped with 2.0 that creates the path to the configuration file dynamically based on the location of apachectl. Then I make symbolic links to apachectl from the bin directory of each instance. That bin directory contains only the symbolic link and an envv

Re: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-16 Thread Oluwatope Akinniyi
Hi, There is a Windows binary build of Apache 2.0.54 with OpenSSL 0.9.8 at http://hunter.campbus.com. Pick it there. Cheers. -- Best Regards Tope Akinniyi Please do not forget: Jesus is the way, the truth and the life. _

[EMAIL PROTECTED] Excluding a directory from mod_proxy (apache 1.3)

2005-08-16 Thread Matt Blasinski
Hi, I'm using mod_proxy to proxy the document root to another port on the same machine with Apache 1.3. ProxyPass / http://localhost:180/ ProxyPassReverse / http://localhost:180/ This works fine and as expected, you get the page at that port/location rather than it attempting to acce

Re: [EMAIL PROTECTED] apache 2.0.54 configuration with cgi,php scripting support

2005-08-16 Thread William A. Rowe, Jr.
Try amazon.com, personal favorite for very very beginners is Sams Teach Yourself Apache 2 in 24 Hours by Daniel Lopez [disclaimer: yes I know (and respect) the author] Sometimes, if you are starting from way behind the curve, nothing beats a good book. Bill Sri wrote: Hi, I am looking for

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread William A. Rowe, Jr.
Neil A. Hillard wrote: On the ProxyPassReverse in Location bug - this was a show-stopper, end of story, for us. If Nick hadn't fixed this (under consultancy) we'd have been looking at products other than Apache. ROFL - I always love these posts. Would have been looking at another product w

Re: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-16 Thread William A. Rowe, Jr.
Axel-Stéphane SMORGRAV wrote: If that is correct, I guess that leaves you with the following choices: - buy a commercial web server - subcontract the build of a binary version of Apache - or make a useful contribution to the Apache project by submitting a binary package for everyone to enjoy.

Re: [EMAIL PROTECTED] trouble in ponctuation in apache server win2000

2005-08-16 Thread William A. Rowe, Jr.
It may help if you note that Apache always treats all URL's as UTF-8. Completely accepting of Portuguese and most Earthen languages. Bill Giovani Augusto Quintao Pereira wrote: There is a trouble in ponctuation in my apache server win2000, in some directories. The ponctuaction appears in a stra

[EMAIL PROTECTED] Re: Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-16 Thread Xuekun Hu
proxy_ajp is mod_jk successor in Apache2.1/2.2 core. You can find more info: http://httpd.apache.org/docs-2.1/mod/mod_proxy.html http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html Thx, Xuekun On 8/17/05, Christine Ho <[EMAIL PROTE

[EMAIL PROTECTED] Re: Connecting from proxy to backendserver gives proxy: CONNECT: declining URL problem

2005-08-16 Thread Sive Lindmark
Hi! I found out that I missed a sub module that was needed. After putting this in http.proxy.conf it works. LoadModule proxy_http_module modules/mod_http_connect.so Sive - The official User-To-User support forum of the Apa

Re: [EMAIL PROTECTED] Weird vhost / https problem.

2005-08-16 Thread Wouter van Marle
On Tue, 2005-08-16 at 13:23 -0400, Joshua Slive wrote: > On 8/16/05, Wouter van Marle <[EMAIL PROTECTED]> wrote: > > NameVirtualHost * > > Try making that > NameVirtualHost *:80 Right that does the job, thanks. Still doesn't explain why it switches to https in the first place! Anyway I'm ha

RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Jody Cleveland
> Any idea what the problem was? Only thing I can figure was a permissions problem. Originally, I copied the directory from one server to another. I checked the permissions, and they seemed fine. But, just for grins, I deleted the directory, created it from scratch, and then it worked. I just copi

Re: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread John Hicks
Jody Cleveland wrote: Ok, I solved it: I renamed the existing directories, created new ones, and copied the data into it. Now, apache starts up fine. Any idea what the problem was? - The official User-To-User support forum

[EMAIL PROTECTED] Sites not displaying php files, or following symlinks

2005-08-16 Thread Jody Cleveland
Hello, I'm running redhat 4.0 AS server with Apache 2. I have a few sites that have index.php as their DirectoryIndex. When I view those sites, I see the php code, not the page as it should be. Also, there are a few sites where index.php is actually a symlink. For those, I get this when I go to

RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Jody Cleveland
Ok, I solved it: > I'm running Redhat 4.0 AS server, and I'm trying to get apache running > on it. > > When I try to run service httpd start, I get this error: > # service httpd start > Starting httpd: Warning: DocumentRoot [/var/www/html/wals] does not > exist >

RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Jody Cleveland
> Just a suggestion on my part but perhaps doing a apachectl > configtest would yield more information. Syntax OK - jody - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

Re: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Spike Burkhardt
Jody, Just a suggestion on my part but perhaps doing a apachectl configtest would yield more information. spike Jody Cleveland wrote: Are you trying to start it as root (required for ports like 80 & 443)? Yes, I am. I would search for 443 in your {server}/conf/httpd.conf file.

RE: [EMAIL PROTECTED] 2.0.54 CustomLog not writing

2005-08-16 Thread Saad, Dan (N-Computer Sciences Corp)
Force an error with an invalid access and then check the logs. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 4:09 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] 2.0.54 CustomLog not writing Hi all, I am using Apache 2

RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Jody Cleveland
> Are you trying to start it as root (required for ports like 80 & 443)? Yes, I am. > I would search for 443 in your {server}/conf/httpd.conf file. > See what you need to comment out. I search for 443, and there are 0 results. > You probably have indexing turned off & also don't have an index

[EMAIL PROTECTED] 2.0.54 CustomLog not writing

2005-08-16 Thread jhespinosa
Hi all, I am using Apache 2.0.54 on Debian. I want to create custom logs using the commands: LogFormat "%{User-agent}i, %T, %D, %b, %f, %a" my_log CustomLog /var/log/apache2/my_log.log my_log on my apache2.conf file. But when I start the server it creates the files but not data is saved in the

RE: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Wick, Daniel
> -Original Message- > From: Jody Cleveland [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 4:53 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Warning: DocumentRoot does not exist > > Hello, > > I'm running Redhat 4.0 AS server, and I'm trying to get > apache r

[EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread Jody Cleveland
Hello, I'm running Redhat 4.0 AS server, and I'm trying to get apache running on it. When I try to run service httpd start, I get this error: # service httpd start Starting httpd: Warning: DocumentRoot [/var/www/html/wals] does not exist

Re: [EMAIL PROTECTED] [OT] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Charlie Smith
Perhaps upping the Apache Timeout variable. I've tried that and will let you know. >>> Tim Burden 8/16/2005 2:23:16 PM >>> They are default and are therefore fine. You wouldn't turn up max_execution_time if the scripts are eventually returning normally. Don't know anything about Oracle. This is

Re: [EMAIL PROTECTED] [OT] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Tim Burden
They are default and are therefore fine. You wouldn't turn up max_execution_time if the scripts are eventually returning normally. Don't know anything about Oracle. This is now completely OT, nothing to do with Apache. - Original Message - From: "Charlie Smith" <[EMAIL PROTECTED]> To: <[

Re: [EMAIL PROTECTED] [OT] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Charlie Smith
Perhaps turning up max_execution_time As script sometimes does take over 5 minutes to actually return data? We can expect some of the queries to actually take longer that 10 seconds. Also, am using Oracle as db rather than MySQL. max_execution_time = 30 ; Maximum execution time of each scri

Re: [EMAIL PROTECTED] [OT] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Tim Burden
This is off-topic, but in my experience this is almost always a problem with queries that are taking too long to process. You can turn on the MySQL slow query log to try to determine this, but often the quick answer is to double-check that you have proper indexes on any field used in a WHERE clause

Re: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Charlie Smith
Problem with very long response time for php cgi scripts started occurring after some of the program seemed to drop off to never land, as queries and arrays got a lot bigger. I turned on implicit_flush to try and debug, but problem persists. Takes over 10 minutes just to get a line back from th

Re: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Charlie Smith
I noticed that also a little while back and made a change to the php.ini file I thought would take care of the problem and appeared to keep a lot of messages out of the Apache error_log file, However, I may have missed something. Here is snippet from php.ini. Anything out of order here? error_rep

Re: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Joshua Kugler
Are you using the debug php.ini or the production php.ini? We had this problem too and it turned out that we were using the default .ini file that has a big header at the top that says "Do not use this in production." j- k- On Tuesday 16 August 2005 10:32, Charlie Smith wrote: > I noti

[EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-16 Thread Charlie Smith
I noticed recent post on how to create a delay in a post. I have opposite problem. In running some php scripts, it's taking up to 10 and longer just to get a line in the access log. Any ideas? Charlie 8/16/05 12:32 p.m. MST --

Re: [EMAIL PROTECTED] .htaccess file reading...

2005-08-16 Thread Joshua Slive
On 8/16/05, Tim Traver <[EMAIL PROTECTED]> wrote: > Hi all, > > ok, quick question. I want to make some configuration changes so that > the whole directory path is not walked to look for .htaccess files to > improve performance. > > I currently have a custom module that I have made that sets the

[EMAIL PROTECTED] .htaccess file reading...

2005-08-16 Thread Tim Traver
Hi all, ok, quick question. I want to make some configuration changes so that the whole directory path is not walked to look for .htaccess files to improve performance. I currently have a custom module that I have made that sets the Document root based on host names, and it is a relatively l

Re: [EMAIL PROTECTED] output csv mime headers for downloading

2005-08-16 Thread Joshua Slive
On 8/16/05, theshz <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to allow my users to download a csv file, and am hoping with > the correct header, the > browser will offer to download rather than display the content. I added the > ".csv" extension to mime.types > next to ".xls" as "application/vnd.m

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Joshua Slive
On 8/16/05, Oren Gozlan <[EMAIL PROTECTED]> wrote: > I need this delay to create some test lab, and i need that the apache will > act very slow when i'm posting to it > i tried to add this: > # mod_ext_filter directive to define a filter > but the apache failed to start, do i need to add anyt

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Oren Gozlan
I need this delay to create some test lab, and i need that the apache will act very slow when i'm posting to it. i tried to add this: # mod_ext_filter directive to define a filter # which runs everything through cat; cat doesn't # modify anything; it just introduces extra pathlength # and cons

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Sean Conner
It was thus said that the Great Joshua Slive once stated: > > On 8/16/05, Oren Gozlan <[EMAIL PROTECTED]> wrote: > > Thnx, > > what i'm trying to do is to send a POST to the server, and i want that the > > apache will delay X secs before processing the POST. > > But what is the point? Well,

Re: [EMAIL PROTECTED] apache 2.0.54 configuration with cgi,php scripting support

2005-08-16 Thread Joshua Slive
On 8/16/05, John Hicks <[EMAIL PROTECTED]> wrote: > Note that this HTML message (the one I am replying to) contains multiple > links to the identical message posted on experts-exchange.com. > One could speculate that a post such as this may not have been made in > good faith. I agree that this lo

[EMAIL PROTECTED] output csv mime headers for downloading

2005-08-16 Thread theshz
Hi, I'm trying to allow my users to download a csv file, and am hoping with the correct header, the browser will offer to download rather than display the content. I added the ".csv" extension to mime.types next to ".xls" as "application/vnd.ms-excel xls csv", but the browser (firefox) still displa

Re: [EMAIL PROTECTED] Weird vhost / https problem.

2005-08-16 Thread Joshua Slive
On 8/16/05, Wouter van Marle <[EMAIL PROTECTED]> wrote: > NameVirtualHost * Try making that NameVirtualHost *:80 Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Joshua Slive
On 8/16/05, Oren Gozlan <[EMAIL PROTECTED]> wrote: > Thnx, > what i'm trying to do is to send a POST to the server, and i want that the > apache will delay X secs before processing the POST. But what is the point? Joshua. - Th

Re: [EMAIL PROTECTED] apache 2.0.54 configuration with cgi,php scripting support

2005-08-16 Thread John Hicks
Note that this HTML message (the one I am replying to) contains multiple links to the identical message posted on experts-exchange.com. Note that the question is a very general one with an obvious answer, but one that will probably be searched for with some frequency ("Apache install and confi

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
--- Erkan BALABAN <[EMAIL PROTECTED]> wrote: > you must search for .htaccess. because this parcing > process can be done with .htaccess. OK, I think I've got it all figured out now. I worked on this several months ago but couldn't get it to work. I just discovered that it was working all the time

Re: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Alexander Lazic
Hi, On Mon 15.08.2005 14:41, Spike Burkhardt wrote: thanks for the info. What I did forget to mention is that the multiple instances are running from the same directory tree. just some tasks to do: 1. cp apachectl apachectl_1 2. vi apachectl_1 change the HTTPD variable with the -f $CONF

[EMAIL PROTECTED] apache 2.0.54 configuration with cgi,php scripting support

2005-08-16 Thread Sri
Hi, I  am looking for good documentation how to install and configure apache 2.0.54 with easy steps.with good security configuration. With this server i need to configure CGI and PHP scripts how do i do this can anyone please explain me the procedure.thanks_

Re: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Spike Burkhardt
Thanks for all the info Joshua. Seems like I might have a reason to upgrade to V2 :-) spike Joshua Slive wrote: On 8/16/05, Spike Burkhardt <[EMAIL PROTECTED]> wrote: Joshua & all, When I specified the configuration file the instance I wanted to kill still didn't stop. In fact, it sto

[EMAIL PROTECTED] Invalid error redirection directive

2005-08-16 Thread Mishra, Pawan
Title: Message Hi Guys,   My I.H.S. server (working with Websphere) becomes slow after following entry is made in the error_log - Tue Aug 16 10:16:33 2005] [error] [] Invalid error redirection directive: 14:16:18 GMT There is no clue as to which URL redirection is causing to be the bad U

[EMAIL PROTECTED] Weird vhost / https problem.

2005-08-16 Thread Wouter van Marle
Hi all, I've a stock apache 2.0.53 installation (Mandrake rpm), and I've the following situation. I had my webserver running nicely, serving my single home page. Now I wanted to add vhosts to host a second domain on the same box, and did so in vhosts.conf (which is included in the main httpd2

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Oren Gozlan
Thnx, what i'm trying to do is to send a POST to the server, and i want that the apache will delay X secs before processing the POST. Oren Joshua Slive wrote: On 8/16/05, Oren Gozlan <[EMAIL PROTECTED]> wrote: Hi, Is there a way to configure the apache to have a delay before proc

Re: [EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Joshua Slive
On 8/16/05, Oren Gozlan <[EMAIL PROTECTED]> wrote: > Hi, > Is there a way to configure the apache to have a delay before proccesing > the request ? Sure. You could try: http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html#examples Or you could write a module that just sleep()s during one of t

[EMAIL PROTECTED] strange qustion - how to make apache daley ?

2005-08-16 Thread Oren Gozlan
Hi, Is there a way to configure the apache to have a delay before proccesing the request ? thnx, Oren - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> fo

Re: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Joshua Slive
On 8/16/05, Spike Burkhardt <[EMAIL PROTECTED]> wrote: > Joshua & all, > > When I specified the configuration file the instance I wanted to kill > still didn't stop. In fact, it stopped the other instance! Also, at > least on my box, '-k' isn't a valid option. I didn't notice you were using

Re: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Spike Burkhardt
Joshua & all, When I specified the configuration file the instance I wanted to kill still didn't stop. In fact, it stopped the other instance! Also, at least on my box, '-k' isn't a valid option. Finally, the error messages I got was: root:comet:/ # apachectl -f /usr/local/apache/conf/h

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread Neil A. Hillard
Hi, Nick Kew wrote: On Tuesday 16 August 2005 14:45, Axel-Stéphane SMORGRAV wrote: Nick, I submitted the three votes I thought you needed last time this issue came up. No, this is different. Patching a release marked "stable" (i.e. 2.0) requires 3 votes from apache committers. That requi

Re: [EMAIL PROTECTED] trouble in ponctuation in apache server win2000

2005-08-16 Thread Giovani Augusto Quintao Pereira
hi Joshua, i have AddDefaultCharset ISO-8859-1 i will see with the programmers if it's ok. Another place that i think that maybe make difference is AddLanguage ca .ca AddLanguage cs .cz .cs AddLanguage da .dk AddLanguage de .de AddLanguage el .el AddLanguage en .en AddLanguage eo .eo AddLang

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread Nick Kew
On Tuesday 16 August 2005 14:45, Axel-Stéphane SMORGRAV wrote: > Nick, > > I submitted the three votes I thought you needed last time this issue came > up. No, this is different. Patching a release marked "stable" (i.e. 2.0) requires 3 votes from apache committers. That requires two committers (

Re: [EMAIL PROTECTED] trouble in ponctuation in apache server win2000

2005-08-16 Thread Joshua Slive
On 8/16/05, Giovani Augusto Quintao Pereira <[EMAIL PROTECTED]> wrote: > > There is a trouble in ponctuation in my apache server win2000, in some > directories. The ponctuaction appears in a strange and confuse way. We use > the portuguese language. Someone can help me, please? > > Thank you i am

RE: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-16 Thread Axel-Stéphane SMORGRAV
If that is correct, I guess that leaves you with the following choices: - buy a commercial web server - subcontract the build of a binary version of Apache - or make a useful contribution to the Apache project by submitting a binary package for everyone to enjoy. WRT to the mod_ssl docs, they a

Re: [EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-16 Thread Joshua Slive
On 8/16/05, Chris Pat <[EMAIL PROTECTED]> wrote: > Hello > I am incredulous, or maybe my naivete, that ANYONE who > wants to use Apache2 w/ssl on windows has to recompile > it for their server PC. Is this correct? Is there no > binary version, like there is for the other modules? > When installed

[EMAIL PROTECTED] trouble in ponctuation in apache server win2000

2005-08-16 Thread Giovani Augusto Quintao Pereira
There is a trouble in ponctuation in my apache server win2000, in some directories. The ponctuaction appears in a strange and confuse way. We use the portuguese language. Someone can help me, please? Thank you i am sorry if my english isnt good, --- Giovani Augusto Quintao Pereira Adminis

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Joshua Slive
On 8/16/05, Chris Knipe <[EMAIL PROTECTED]> wrote: > > Try something like > > RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found > > RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 > > > > And be sure to use the RewriteLog to help you debug. > > Joshua, > > Just one more thing very quickly (

[EMAIL PROTECTED] apache2 mod_ssl windows...the simple way?

2005-08-16 Thread Chris Pat
Hello I am incredulous, or maybe my naivete, that ANYONE who wants to use Apache2 w/ssl on windows has to recompile it for their server PC. Is this correct? Is there no binary version, like there is for the other modules? When installed where are the mod_ssl docs for Apache2 that discuss certifi

RE: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread Axel-Stéphane SMORGRAV
Nick, I submitted the three votes I thought you needed last time this issue came up. With respect to the "ProxyPassReverse in Location" problem, I do not really see the relationship to ProxyPassReverseCookie(Domain|Path) unless we are talking about the same patch ?? Are we talking about backpo

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
Try something like RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 And be sure to use the RewriteLog to help you debug. Joshua, Just one more thing very quickly (I haven't tested, it's on a production server now), Can I put wildcard re

[EMAIL PROTECTED] mod_proxy_html

2005-08-16 Thread Shahzad Bhatti
Nick, I am going to try to use Linux instead of Windows to resolve problems with mod_proxy. Can you send me source code or .so for Intel/Linux. I am not sure if source is already available on your website. Thanks. -Shahzad <>-

Re: [EMAIL PROTECTED] Multiple apache instances

2005-08-16 Thread Craig Dunigan
Now that I look closer at your original message, I should have been able to tell that from the paths. As Joshua already said, apachectl responds to all or nearly all of the same switches that httpd does, so use the appropriate combination to control the separate instances. My main point was n

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread Erkan BALABAN
David Blomstrom wrote: I THINK there's an Apache function that allows you to use PHP on web pages with .htm extensions. I gave it a shot some time ago and couldn't get it to work. Not until I tackled mod_rewrite a couple days ago did I discover that my .htaccess file wasn't functioning properly.

[EMAIL PROTECTED] RewriteLock never created 2.0.54-4

2005-08-16 Thread Tim Sturtewagen
*1. /[EMAIL PROTECTED]/* Aug 16, 12:48 pm show options

[EMAIL PROTECTED] Mime and username with WebDav

2005-08-16 Thread Jarosław Skrzydło
Hello! I'm working with web-dav (http://www.webdav.org/) and I have a serious problem with getting username and mime from apache request_rec. I tryied to it in this way: void some_function (request_rec *r) { char *user=(char *)r->connection->user; char *mime=(char *)r->content_type; char *remote

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
Wow, this is too weird. I just discovered that this site is ALREADY parsing .htm pages as .php - and it's also doing it online! It's apparently due to this code in the .htaccess file: RewriteEngine ON RewriteRule index.html index.php [QSA] I don't understand why I couldn't get it to work when I

Re: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread Nick Kew
Axel-Stéphane SMORGRAV wrote: - the path to the j_security_check servlet is not in the Cookie path /cas Dealing with this in reverse-proxy is something I'm trying to get votes for backporting into httpd-2.0 so that it's available in all the packaged versions of Apache. See for example http://

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread Chris Knipe
Isn't that one a bit obvious? Add .htm to the list??? -- Chris. - Original Message - From: "David Blomstrom" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 11:15 AM Subject: Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions OK, you're talking about Apache's

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
OK, you're talking about Apache's httpd conf file, right? It already has this line: AddType application/x-httpd-php .php .php4 .php3 .phtml So how do I change it if I want it to interpret .htm extensions as .php extensions? Also, is there anyway to do this in .htaccess instead? I don't think I ha

RE: [EMAIL PROTECTED] mod_proxy/mod_proxy_html

2005-08-16 Thread Axel-Stéphane SMORGRAV
Set-Cookie: CASTGC=TGC-1-1N7IaTahULnxb6P8E46x2iG5BoG5PDcwQg8AaLyCEFPL6VgwzV; Path=/cas; Secure ^^ Set-Cookie: CASPRIVACY=enabled; Path=/cas; Secure The

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread Davide Bianchi
David Blomstrom wrote: > I THINK there's an Apache function that allows you to > use PHP on web pages with .htm extensions. Just change the extension mapping in the default AddType application/x-httpd-php to wathever you want. Davide -- "Our business model works even if all internet software i

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
Solved. Thank you very VERY much for the help Joshua. :) -- Chris. - Original Message - From: "Chris Knipe" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 10:22 AM Subject: Re: [EMAIL PROTECTED] rewritemap help? RewriteCond %{HTTP_HOST} ^${MyMap:%{HTTP_HOST}}$ RewriteRule

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
RewriteCond %{HTTP_HOST} ^${MyMap:%{HTTP_HOST}}$ RewriteRule ^(.{MyMap:%{HTTP_HOST}})$ of the key>$1 [P] Basically, anything to host 1, proxy to host 2. The main reason wanting to use a external map, is so that we can add/remove/modify mappings on the fly without having to restart apache

[EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread David Blomstrom
I THINK there's an Apache function that allows you to use PHP on web pages with .htm extensions. I gave it a shot some time ago and couldn't get it to work. Not until I tackled mod_rewrite a couple days ago did I discover that my .htaccess file wasn't functioning properly. So I want to give this o

Re: [EMAIL PROTECTED] Why isn't mod_rewrite working?

2005-08-16 Thread Krist van Besien
On 8/15/05, David Blomstrom <[EMAIL PROTECTED]> wrote: > I just discovered that mod_rewrite IS working. When I > click on my links, I get dynamic URL's. But if I type > http://geozoo/stacks/Animalia directly into the > browser, it works just fine. > > So I guess the next step is fixing it so that