[EMAIL PROTECTED] htaccess

2005-10-31 Thread Alastair Roy
Ladies and gentlemen please if you can be of any assistance I would appreciate it. The problem is htaccess or my lack of understanding thereof I have set it up on a directory but when I try to access the directory I DO NOT get challenged for a password I just get the forbidden message in my web

Re: [EMAIL PROTECTED] htaccess

2005-10-31 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alastair Roy wrote: Ladies and gentlemen please if you can be of any assistance I would appreciate it. The problem is htaccess or my lack of understanding thereof I have set it up on a directory but when I try to access the directory I DO NOT

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Tom Cat
Check out http://www.linux-sottises.net/en_apache_install.php Using both PHP and mod_perl together has caused problems in the past (http://slashdot.org/article.pl?sid=00/11/21/1720242), but I think they will play nicely now. FYI, I ditched mod_perl in favor of a PHP a while ago. If I really

Re: [EMAIL PROTECTED] php extensions, help

2005-10-31 Thread Tom Cat
This is really a PHP question not an Apache question. Check out: http://us2.php.net/manual/en/ref.imap.php To get these functions to work, you have to compile PHP with --with-imap[=DIR], where DIR is the c-client install prefix. From our example above, you would use

[EMAIL PROTECTED] Apache stops listening

2005-10-31 Thread lherbst
Apache 2.0.54 PHP 4.3.3 Windows 2003 About once a week or so Apache just stops listening and we have to restart the Apache service. I had found in one of my php scripts a problem with some database calls. The result set was being populated over and over again in a loop that may occur

Re: [EMAIL PROTECTED] Connecting C++ server with Apache: AJP?

2005-10-31 Thread Olaf van der Spek
On 10/31/05, Nick Kew [EMAIL PROTECTED] wrote: On Monday 31 October 2005 13:58, Olaf van der Spek wrote: Hi, What is the (best) way to connect a C++ server with Apache? What's the language got to do with it? Not much, but if it was PHP, mod_php would be an alternative. Use whatever

Re: [EMAIL PROTECTED] Connecting C++ server with Apache: AJP?

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 15:02, Olaf van der Spek wrote: Use whatever protocol your backend supports. I don't have an existing backend. In fact, I've got nothing at all yet for this project. So you could just write it as a module? AJP looks usable, but I'm not sure if it's the right

Re: [EMAIL PROTECTED] Connecting C++ server with Apache: AJP?

2005-10-31 Thread Olaf van der Spek
On 10/31/05, Nick Kew [EMAIL PROTECTED] wrote: On Monday 31 October 2005 15:02, Olaf van der Spek wrote: Use whatever protocol your backend supports. I don't have an existing backend. In fact, I've got nothing at all yet for this project. So you could just write it as a module?

Re: [EMAIL PROTECTED] Rfi (Request for ideas ;-)

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 15:26, Alexander Lazic wrote: Hi, we have the following requirement. We have a 2-Tier achitechure witch looks like: The easy way would be to put something in the paths that can be used as an easy lookup. For example, use /app/... paths for your app with a Location,

Re: [EMAIL PROTECTED] Connecting C++ server with Apache: AJP?

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 15:25, Olaf van der Spek wrote: I don't have an existing backend. In fact, I've got nothing at all yet for this project. So you could just write it as a module? No, because I'd like it to be (more) independent of the web server. Apache could be either

Re: [EMAIL PROTECTED] Connecting C++ server with Apache: AJP?

2005-10-31 Thread Olaf van der Spek
On 10/31/05, Nick Kew [EMAIL PROTECTED] wrote: No, because I'd like it to be (more) independent of the web server. Apache could be either multi-threaded or multi-processed, but my app would be single-threaded (epoll). That's a lot of constraints to be putting on yourself if they're not

[EMAIL PROTECTED] Dinamically adding content

2005-10-31 Thread Gare
How could the server add content to a web page as it's server? I mean that I would like to add a head or a foot to every page served by my Apache server. Thanks - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Dinamically adding content

2005-10-31 Thread James Benson
Using server-side scripting such as PHP Gare wrote: How could the server add content to a web page as it's server? I mean that I would like to add a head or a foot to every page served by my Apache server. Thanks -

Re: [EMAIL PROTECTED] Dinamically adding content

2005-10-31 Thread Gare
Yes, but how do it? I think it must be an script (php or pelr) that runs every time a page is served. But how must I do it? Do you know any example? Thanks - Original Message - From: James Benson [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Monday, October 31, 2005 7:31 PM

Re: [EMAIL PROTECTED] Dinamically adding content

2005-10-31 Thread Joshua Kogut
Well, this is a large topic, but simply put, you need to install php. Then, in the php config file, put an auto prepend to the file that you want to include before, and an auto append that you want to include afterwards. If you need any help, email me at [EMAIL PROTECTED].On 10/31/05, Gare [EMAIL

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Joshua Kogut
I too have strayed from the the road of perl in favor of my new love. Php.On 10/31/05, Tom Cat [EMAIL PROTECTED] wrote:Check out http://www.linux-sottises.net/en_apache_install.phpUsing both PHP and mod_perl together has caused problems in the

Re: [EMAIL PROTECTED] htaccess

2005-10-31 Thread Joshua Kogut
Also, you should do AllowOveride All to enable the .htaccess files to change the config.On 10/31/05, Rich Bowen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1Alastair Roy wrote: Ladies and gentlemen please if you can be of any assistance I would appreciate it. The problem

[EMAIL PROTECTED] Apache: You don't have permission to access /index.html on this server. Additionally a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

2005-10-31 Thread Andi Martin
Hi everyone, I'm relatively new to this so please bear with me. I've installed apache and had a quick look over the config file. On starting the server, I can access .htm pages but not .html. I've checked the mime types and .html is listed in there. I've checked the permissions and they

Re: [EMAIL PROTECTED] Apache: You don't have permission to access /index.html on this server. Additionally a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the requ

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 20:02, Andi Martin wrote: Can anyone point me in the right direction? I'm running an AMD64 in FC4 64bit mode. Sounds like file permissions. It's not just the files; apache needs to be able to read the directory and all parents (perms 755 is usually fine). If that's

Re: [EMAIL PROTECTED] Dinamically adding content

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 17:19, Gare wrote: How could the server add content to a web page as it's server? I mean that I would like to add a head or a foot to every page served by my Apache server. Read the Apache manual page about SSI, which is far simpler and less hassle than a scripting

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Boysenberry Payne
That's funny I did the opposite, started with PHP and went to MP after a few years at PHP. Just out of curiosity, why would one go from MP to PHP? It seems like you're giving up a lot in the move. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 31, 2005, at 1:44 PM,

[EMAIL PROTECTED] Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Brian Bonner
I'm using ProxyPass and ProxyPassReverse to delegate requests from Apache 2.0.55 to Tomcat 5.0.30. Here's what I have: ProxyPass / http://192.168.1.15:8082/internal/ ProxyPassReverse / http://192.168.1.15:8082/finternal/ This works fine, however I also want to add a Redirection for a

Re: [EMAIL PROTECTED] Apache: You don't have permission to access /index.html on this server. Additionally a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the requ

2005-10-31 Thread Andi Martin
Nick, Thanks for your help, it was due to selinux. I managed to get it working!!! :-) Cheers again, Andi On Mon, 2005-10-31 at 20:11 +, Nick Kew wrote: On Monday 31 October 2005 20:02, Andi Martin wrote: Can anyone point me in the right direction? I'm running an AMD64 in FC4 64bit

[EMAIL PROTECTED] Re: Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Brian Bonner
It looks like: Rewrite will do the trick: RewriteRule ^/grant/evaluation$ http://192.168.1.15:8082/internal/resources/evaluation.html [P] RewriteRule ^/emp/int.xyz(.*)$ http://192.168.1.15:8082/internal/employee [P] RewriteRule ^/(*.)$ http://192.168.1.15:8082/internal [P] If anyone has any

[EMAIL PROTECTED] Re: Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Brian Bonner
And actually , I forgot the $1 at the end of the last rewrite rule, it should have been: RewriteRule ^/grant/evaluation$ http://192.168.1.15:8082/internal/resources/evaluation.html [P] RewriteRule ^/emp/int.xyz(.*)$ http://192.168.1.15:8082/internal/employee [P] RewriteRule ^/(*.)$

[EMAIL PROTECTED] Re: Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Brian Bonner
I spoke to soon. I really need a redirect to occur :( The url is staying the same in the browser and is not being rewritten but proxied directly. I need the URL to change in the browser as well as the url that is being sent to Tomcat. Any ideas on how to accomplish this. If I just remove the

[EMAIL PROTECTED] Page caches

2005-10-31 Thread Glynn Lawrence
Classification: UNCLASSIFIED We run an Apache 2.x (sorry, I do not know the exact version) on Windows Server 2003. I am trying to stop certain pages being cached as users complain they can not see the up to date version. Using a test page called testrefresh.html I put the following in the

Re: [EMAIL PROTECTED] Page caches

2005-10-31 Thread Nick Kew
On Monday 31 October 2005 22:59, Glynn Lawrence wrote: Classification: UNCLASSIFIED Pardon? I am trying to stop certain pages being cached as users complain they can not see the up to date version. Of course they can! That's a browser function. Put up an instructions page for how to use

Re: [EMAIL PROTECTED] Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Joshua Slive
On 10/31/05, Brian Bonner [EMAIL PROTECTED] wrote: I'm using ProxyPass and ProxyPassReverse to delegate requests from Apache 2.0.55 to Tomcat 5.0.30. Here's what I have: ProxyPass / http://192.168.1.15:8082/internal/ ProxyPassReverse / http://192.168.1.15:8082/finternal/ This

[EMAIL PROTECTED] unexpected RewriteRule behavior

2005-10-31 Thread Michael D. Berger
The following: ... RewriteEngine on RewriteCond %{REQUEST_URI} !^.*/picts/.*$ RewriteRule ^/.*\.html(\?.*$)? /index.cgi$2 [L] RewriteCond %{REQUEST_URI} !^.*/picts/.*$ RewriteRule ^/(.*/)?$ /index.cgi [L] /VirtualHost sends GET /favicon.ico to index.cgi . I would not expect

Re: [EMAIL PROTECTED] Redirect and ProxyPass or RewriteRule[P]

2005-10-31 Thread Brian Bonner
Joshua, thank you. That did the trick. I appreciate your help resolving this. On 10/31/05, Joshua Slive [EMAIL PROTECTED] wrote: On 10/31/05, Brian Bonner [EMAIL PROTECTED] wrote: I'm using ProxyPass and ProxyPassReverse to delegate requests from Apache 2.0.55 to Tomcat 5.0.30. Here's

RE: [EMAIL PROTECTED] unexpected RewriteRule behavior

2005-10-31 Thread Michael D. Berger
Sorry, I forgot to mention: RH-E-WS-4 httpd-2.0.52-9.ent Mike. -- Michael D. Berger [EMAIL PROTECTED] -Original Message- From: Michael D. Berger [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 9:24 PM To: Apache-Users Subject: [EMAIL PROTECTED] unexpected RewriteRule

[EMAIL PROTECTED] Is someone attacking my web server?

2005-10-31 Thread Oil Pine
I've noticed for the first time what appears to be a malicious attack on my web server (a part of the httpd access file attached). If so, is there something I should do to foil such attacks in the future? pine 62.173.166.113 - - [31/Oct/2005:06:30:43 -0600] GET /phpmyadmin/main.php HTTP/1.0

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Octavian Rasnita
From: Boysenberry Payne [EMAIL PROTECTED] That's funny I did the opposite, started with PHP and went to MP after a few years at PHP. Just out of curiosity, why would one go from MP to PHP? It seems like you're giving up a lot in the move. Boysenberry --- I have started with perl CGI, ModPerl,

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Malka Cymbalista
Thanks very much for your reply. I read the document you referred me to and it seems to me that it is for Apache 1 and mod_perl 1. We are running apache 2 and mod_perl 2 and not all of the instructions are applicable. Do you have any idea how to do the installation of all these components using