[users@httpd] howto exclude localhost from authenication

2012-01-18 Thread Gregory Machin
Hi. I have a virtual host, that is configured with ldap authentication, and this works well. The problem is that internal calls on the server to the virtual host now require authentication as well. How can I excluded localhost and selected sources from authentication so that back-end processes

Re: [users@httpd] howto exclude localhost from authenication

2012-01-18 Thread Guillaume Rossolini
On Wed, Jan 18, 2012 at 9:26 AM, Gregory Machin g...@linuxpro.co.za wrote: Hi. I have a virtual host, that is configured with ldap authentication, and this works well. The problem is that internal calls on the server to the virtual host now require authentication as well. How can I excluded

[users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Petr Hracek
Dear users, do you have any suggestion how to solve that problem? I will try to summarized my problem: -- when I writedown to browser http://IP/index.shtml where is mentioned !--#include virtual=./myCGIScript.cgi -- then it shown me [an error occured while processing this directive] in the

Re: [users@httpd] rewrite rule

2012-01-18 Thread Eric Covener
IF I access server.com - all links in my site are with server.com/products, server.com/services etc But I access with 192.168.52.58 - site opens up well , but the links of the pages are server.com/products, server.com/services How can I resolve this ? I mean my site should be linked to its

Re: [users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Eric Covener
On Wed, Jan 18, 2012 at 7:06 AM, Petr Hracek phrac...@gmail.com wrote: Dear users, do you have any suggestion how to solve that problem? I will try to summarized my problem: -- when I writedown to browser http://IP/index.shtml where is mentioned !--#include virtual=./myCGIScript.cgi -- then

Re: [users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Pete Houston
On Wed, Jan 18, 2012 at 01:06:19PM +0100, Petr Hracek wrote: -- in the apache2 configuration file is mentioned Directory /opt/apache2/htdocs/ Options IncludesNOEXEC -MultiViews -FollowSymLinks Order deny,allow Allow from all /Directory In your Options line you are mixing

Re: [users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Petr Hracek
I have updated my configuration file so that: DocumentRoot /opt/apache/htdocs/pubdocs Directory / Options +IncludesNOEXEC -MultiViews -Indexes -FollowSymLinks AllowOverride None Order allow,deny Deny from all /Directory Directory /opt/apache/htdocs/pubdocs

Re: [users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Eric Covener
On Wed, Jan 18, 2012 at 7:43 AM, Petr Hracek phrac...@gmail.com wrote: I have updated my configuration file so that: DocumentRoot /opt/apache/htdocs/pubdocs Directory /        Options +IncludesNOEXEC -MultiViews -Indexes -FollowSymLinks How does your SHTML include the CGI script?

Re: [users@httpd] Re: Running script CGI with IncludesNOEXEC

2012-01-18 Thread Petr Hracek
Over HTML directive !-- #include virtual=./myCGIScript.cgi -- best regards Petr Dne 18. ledna 2012 15:51 Eric Covener cove...@gmail.com napsal(a): On Wed, Jan 18, 2012 at 7:43 AM, Petr Hracek phrac...@gmail.com wrote: I have updated my configuration file so that: DocumentRoot

Re: [users@httpd] Running script CGI with IncludesNOEXEC

2012-01-18 Thread Eric Covener
On Fri, Jan 13, 2012 at 3:54 AM, Petr Hracek phrac...@gmail.com wrote: Dear user, I have a question. I need to run from my page CGI script but in the /var/log/apache2/error_log I see: [Fri Jan 13 10:12:45 2012] [error] [client 10.7.254.58] unable to include potential exec ./testdiag.cgi in

Re: [users@httpd] Running script CGI with IncludesNOEXEC

2012-01-18 Thread Petr Hracek
And how to do that correctly? Any example? Petr Dne 18. ledna 2012 16:24 Eric Covener cove...@gmail.com napsal(a): On Fri, Jan 13, 2012 at 3:54 AM, Petr Hracek phrac...@gmail.com wrote: Dear user, I have a question. I need to run from my page CGI script but in the /var/log/apache2/error_log

[users@httpd] RewriteRule

2012-01-18 Thread Roman Gelfand
I am trying to proxy off requests from wan url https://external.mydomain.com/sipxconfig to an internal site https://internal.mydomain.com:8443/sipxconfig. This what I attempted to do RewriteRule ^https://external.mydomain.com:8443$ https://external.mydomain.com/ [R] RewriteRule

Re: [users@httpd] RewriteRule

2012-01-18 Thread Igor Cicimov
You rewrite based on the URI not the URL. Read the mod_rewrite docs and examples. On Jan 19, 2012 5:37 AM, Roman Gelfand rgelfa...@gmail.com wrote: I am trying to proxy off requests from wan url https://external.mydomain.com/sipxconfig to an internal site

Re: [users@httpd] rewrite rule

2012-01-18 Thread Indraveni chebolu
The HTML look perfectly alright. If I change the URL to IP also it works good. something like, I can access server.com/products ip/products, both show up correctly. You can check my site at http://cdachyd.in, as well the same with its Ip http://196.12.45.103 When you access with cdachyd.in, all

[users@httpd] Reg Apache Access log size

2012-01-18 Thread SSRChandra Devagupthapu
Dear All, Any one please suggest how to control the access_log in Apache web server. Regards, SSR Chandra, Cognos Support, 040-66678118. == i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice.