Re: 403 Forbidden - you don't have permission ... any ideas?
Could it possibly be with the connector? I'm thinking that could be a possibility since I can see the directory http://localhost:8080/examples but I get the 403 err with http://localhost/examples... Keep in mind http://localhost/examples/jsp gives no error, shows my jsp samples... - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 12:24 AM Subject: Re: 403 Forbidden - you don't have permission ... any ideas? At a very quick glance, it looks like it should be Ok. My first guess would be tree permissions. Apache will tree-walk, so it needs at least 'rx' permissions to all directories upto and including D:/Apache/Tomcat4.1/CTG/examples. 403 is also Apache's normal response when you have disabled directory listings, but I didn't see that in my quick glance (quick := I very well may have overlooked something :). tomcat guy [EMAIL PROTECTED] wrote in message 001301c2d91d$b63a0590$6601a8c0@ctg">news:001301c2d91d$b63a0590$6601a8c0@ctg... If anyone can help, here is my problem: I can go to http://localhost:8080/examples and I get the directory listing images/ jsp/ servlets/. BUT when I go to http://localhost/examples I get the forbidden error?!? Any ideas? The permissions are all good. I go to http://localhost/examples/jps and it works? The JSP's work along with the servlets. I recently reinstalled my apache server. I cannot remember this not working. What did I forget!!! (besides my documentation, of course). Basically I need to setup a directory path to http://localhost/examples/temp or http://localhost/temp to my virtualHost http://ctg.com/examples nothing is working!!! I have attached a copy of my httpd.conf server.xml. If anyone would be able to give it a quick glance OR send a copy of your config files that would be great! I am using: Apache2.0.43 Tomcat4.1.18 mod_jk Win2k -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 403 Forbidden - you don't have permission ... any ideas?
With your config, the one thing that you can rule out for sure is the connector. Apache won't consult the connector in this case (or, rather, it will but mod_jk(2) will punt :). It is entirely an Apache configuration problem. Just for chuckles, you could try commenting out the 'AllowOverride None' in the Directory / element. I've never used Apache under Windows, so it might be different. To combine responses: It isn't necessarily true that 8080 would fail if Apache does. For one thing, it is typically running as a different user. For another, Tomcat doesn't do the tree-walk, so it is happy as long as it has 'rx' permissions on the final directory. Apache requires 'rx' permissions on all directories, since it will check them all for the presence of a '.htaccess' file. tomcat guy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Could it possibly be with the connector? I'm thinking that could be a possibility since I can see the directory http://localhost:8080/examples but I get the 403 err with http://localhost/examples... Keep in mind http://localhost/examples/jsp gives no error, shows my jsp samples... - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 21, 2003 12:24 AM Subject: Re: 403 Forbidden - you don't have permission ... any ideas? At a very quick glance, it looks like it should be Ok. My first guess would be tree permissions. Apache will tree-walk, so it needs at least 'rx' permissions to all directories upto and including D:/Apache/Tomcat4.1/CTG/examples. 403 is also Apache's normal response when you have disabled directory listings, but I didn't see that in my quick glance (quick := I very well may have overlooked something :). tomcat guy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If anyone can help, here is my problem: I can go to http://localhost:8080/examples and I get the directory listing images/ jsp/ servlets/. BUT when I go to http://localhost/examples I get the forbidden error?!? Any ideas? The permissions are all good. I go to http://localhost/examples/jps and it works? The JSP's work along with the servlets. I recently reinstalled my apache server. I cannot remember this not working. What did I forget!!! (besides my documentation, of course). Basically I need to setup a directory path to http://localhost/examples/temp or http://localhost/temp to my virtualHost http://ctg.com/examples nothing is working!!! I have attached a copy of my httpd.conf server.xml. If anyone would be able to give it a quick glance OR send a copy of your config files that would be great! I am using: Apache2.0.43 Tomcat4.1.18 mod_jk Win2k -- -- -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
403 Forbidden - you don't have permission ... any ideas?
If anyone can help, here is my problem: I can go to http://localhost:8080/examples and I get the directory listing images/ jsp/ servlets/. BUT when I go to http://localhost/examples I get the forbidden error?!? Any ideas? The permissions are all good. I go to http://localhost/examples/jps and it works? The JSP's work along with the servlets. I recently reinstalled my apache server. I cannot remember this not working. What did I forget!!! (besides my documentation, of course). Basically Ineed to setup a directory path to http://localhost/examples/temp or http://localhost/temp to my virtualHost http://ctg.com/examples nothing is working!!! I have attached a copy of my httpd.conf server.xml. If anyone would be able to give it a quick glance OR send a copy of your config files that would be great! I am using: Apache2.0.43 Tomcat4.1.18 mod_jk Win2k # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs-2.0/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to D:/Apache/Apache2 will be interpreted by the # server as D:/Apache/Apache2/logs/foo.log. # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., c:/apache instead of c:\apache). # If a drive letter is omitted, the drive on which Apache.exe is located # will be used by default. It is recommended that you always supply # an explicit drive letter in absolute paths, however, to avoid # confusion. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation (available # at URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot D:/Apache/Apache2 # # ScoreBoardFile: File used to store internal server process information. # If unspecified (the default), the scoreboard will be stored in an # anonymous shared memory segment, and will be unavailable to third-party # applications. # If specified, ensure that no two invocations of Apache share the same # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. # #ScoreBoardFile logs/apache_runtime_status # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile logs/httpd.pid # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # WinNT MPM # ThreadsPerChild: constant number of worker threads in the server process # MaxRequestsPerChild: maximum number of requests a server process serves IfModule mpm_winnt.c ThreadsPerChild 250 MaxRequestsPerChild 0 /IfModule # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition
RE: 403 Forbidden - you don't have permission ... any ideas?
how to integrate Borland Together Control Center with jdk 1.4? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]