Re: Forbidden access
Paul Cotter wrote: Also there's a typo: It has been confirmed by the original author that the typo was only in the email sample. There was also a /Locatiom but I guess this was a transcription error also. As a general rule, when posting slices of config, code etc. to the lists: ALWAYS use your window-manager's cut'n'paste utility to grab the code. NEVER transcribe it by typing it in again... If you try to type it in, you will only type in what you THINK it says - not what it actually says, i.e. you might unconciously correct an error in the code or introduce a new error which becomes red-herring. Rgds, Owen Boyle.
Re: Forbidden access
- Original Message - From: "Stas Bekman" [EMAIL PROTECTED] To: "Daniel" [EMAIL PROTECTED] Also there's a typo: It has been confirmed by the original author that the typo was only in the email sample. There was also a /Locatiom but I guess this was a transcription error also.
RE: Forbidden access
Hi, Thanks for the reply, I have used the IP address of my machine (single IP address) to be Allowed and it works. But I don't know how to allow a group of users to access web server? especially if there is no place to specify the network mask. Hi, I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO. Initially both server-status and server-info works fine, but some how both of these pages denied my display request.(403 Forbidden ) I have checked httpd.conf where I have Location /server-status SetHandler server-status Order deny,allow Deny from all Allow from .mydomain.com /Locatiom In the log file it simply says denied by server. Are you sure that .mydomain.com is getting resolved correctly? Try using IP. As far as I can see DNS is working fine, nslookup can resolve the machine name. Also one should avoid using domain names on production server. It's a performance hit since it turns HostnameLookups on. http://httpd.apache.org/docs/misc/perf-tuning.html#runtime Thanks for the comments. PC _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Forbidden access
"Wang, Pin-Chieh" wrote: Hi, I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO. Initially both server-status and server-info works fine, but some how both of these pages denied my display request.(403 Forbidden ) I have checked httpd.conf where I have Location /server-status SetHandler server-status Order deny,allow Deny from all Allow frpm .mydomain.com can we assume this is actually: Allow from .mydomain.com in your conf?? /Locatiom In the log file it simply says denied by server. -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/
Re: Forbidden access
Hi. Looks like maybe a syntax error look below: "Wang, Pin-Chieh" wrote: Hi, I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO. Initially both server-status and server-info works fine, but some how both of these pages denied my display request.(403 Forbidden ) I have checked httpd.conf where I have Location /server-status SetHandler server-status Order deny,allow Deny from all You've got Allow frpm instead of Allow from in the following line: Allow frpm .mydomain.com /Locatiom In the log file it simply says denied by server. I want tracking down the reason. and solve the problem. I have Apache::DB installed. Can anybody point me which module denied my request Thanks for the help PC ~Sean
Re: Forbidden access
On Tue, 6 Mar 2001, Wang, Pin-Chieh wrote: Hi, I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO. Initially both server-status and server-info works fine, but some how both of these pages denied my display request.(403 Forbidden ) I have checked httpd.conf where I have Location /server-status SetHandler server-status Order deny,allow Deny from all Allow frpm .mydomain.com /Locatiom In the log file it simply says denied by server. Are you sure that .mydomain.com is getting resolved correctly? Try using IP. Also one should avoid using domain names on production server. It's a performance hit since it turns HostnameLookups on. http://httpd.apache.org/docs/misc/perf-tuning.html#runtime _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Forbidden access
Also there's a typo: Allow frpm .mydomain.com Should be: Allow from .mydomain.com Stas Bekman wrote: On Tue, 6 Mar 2001, Wang, Pin-Chieh wrote: Hi, I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO. Initially both server-status and server-info works fine, but some how both of these pages denied my display request.(403 Forbidden ) I have checked httpd.conf where I have Location /server-status SetHandler server-status Order deny,allow Deny from all Allow frpm .mydomain.com /Locatiom In the log file it simply says denied by server. Are you sure that .mydomain.com is getting resolved correctly? Try using IP. Also one should avoid using domain names on production server. It's a performance hit since it turns HostnameLookups on. http://httpd.apache.org/docs/misc/perf-tuning.html#runtime _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ -- Daniel Bohling NewsFactor Network
Re: Forbidden access
On Tue, 6 Mar 2001, Daniel wrote: Also there's a typo: Allow frpm .mydomain.com Should be: Allow from .mydomain.com It has been confirmed by the original author that the typo was only in the email sample. _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/