[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.

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 l

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" wrote: > 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. > > T

[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 ^https://internal.

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 napsal(a): > On Fri, Jan 13, 2012 at 3:54 AM, Petr Hracek 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

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 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 parsed fil

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

2012-01-18 Thread Petr Hracek
Over HTML directive best regards Petr Dne 18. ledna 2012 15:51 Eric Covener napsal(a): > On Wed, Jan 18, 2012 at 7:43 AM, Petr Hracek wrote: >> I have updated my configuration file so that: >> >> DocumentRoot "/opt/apache/htdocs/pubdocs" >> >> >>        Options +IncludesNOEXEC -MultiViews -In

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 wrote: > I have updated my configuration file so that: > > DocumentRoot "/opt/apache/htdocs/pubdocs" > > >        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
I have updated my configuration file so that: DocumentRoot "/opt/apache/htdocs/pubdocs" Options +IncludesNOEXEC -MultiViews -Indexes -FollowSymLinks AllowOverride None Order allow,deny Deny from all Options +IncludesNOEXEC -MultiViews -FollowSymLinks Or

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 > > Options IncludesNOEXEC -MultiViews -FollowSymLinks > Order deny,allow > Allow from all > In your Options line you are mixing absolute and relative directives. D

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 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 > > then it shown me >    [an error occured while processing

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

[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 then it shown me [an error occured while processing this directive] in the /var/log/apache2/error_log is mentioned: u

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 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 localhost an

[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 do