[techtalk] Apache/Proxy not caching Linux client
I am using Apache 1.3.14 on Linux. The proxy module has been configured for caching. When I access from Windows boxes, the proxy module seems to be caching the permitted sites. When I revist the sites, the pages are served from the cache. When I try to go to the same sites from the Linux system (which is hosting the Apache server), the server connects to the actually site. In the browser I do have proxy pointing to port 80 on "hostname". I have changed it to fully qualified hostname and that does not stop the server from reloading the page. Is anyone else experiencing this problem? How can I make Apache proxy to serve the Linux clients from the proxy cache? Thanks in advance. -- Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
[techtalk] directory that is writable by web server process
I need to make a directory to which my web server process (httpd, I think) has read/write access. How do I go about doing this? I'm using RedHat 6.2 and Apache 1.3.12. Barbara ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] directory that is writable by web server process
On Sun, Oct 22, 2000 at 06:27:44PM -0400, m20bi wrote: > I need to make a directory to which my web server process (httpd, I think) > has read/write access. How do I go about doing this? I'm using RedHat 6.2 > and Apache 1.3.12. Barbara The httpd process (which is, indeed, the correct one) runs as user 'nobody' and group 'nobody' for security reasons. So you need to make the directory readable (and/or writeable) by 'nobody'. Be aware that having write access to the directory could introduce security problems, so it would be best if there was nothing else in the directory. However, I don't know the specific situation you are working in, so I won't wander any further down this path. Cheers, Malcolm -- Malcolm Tredinnickemail: [EMAIL PROTECTED] CommSecure Pty Ltd ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
[techtalk] Inetd Server
Dear All, on RH6.2, I think Inetd is automatically installed and runn... but I don't know whether Inetd would need configuration...and how... and tell me how to check if inetd is working can i put some html files /in which directory? so I can check it from any webbrowser Thanks anton xie
[techtalk] Apache Server
Dear all I have serendipitously tried it on my web browser http://202.143.143.54 and it showed an apache page saying "It worked" then I tried using the computer name http://S04 and it's also worked but where should I start uploading web pages and please tell me can above addresses be accessed from your place? Why? Thanks anton xie
Re: [techtalk] directory that is writable by web server process
Assuming the web server is running as nobody, make the directory, change the group on the directory, then change the permissions. Here's an example of making directory foo which is writeable by the httpd process: /bin/mkdir ./foo chgrp nobody ./foo/ chmod 550 ./foo/ If at all possible you should store uploaded data into a database rather than on the filesystem. MySQL is free, and writing some Perl code to insert and retrieve data to and from the database via the CGI is fairly easy. Eric R. Turner On Sun, 22 Oct 2000, m20bi wrote: > I need to make a directory to which my web server process (httpd, I think) > has read/write access. How do I go about doing this? I'm using RedHat 6.2 > and Apache 1.3.12. Barbara > > > ___ > techtalk mailing list > [EMAIL PROTECTED] > http://www.linux.org.uk/mailman/listinfo/techtalk > -- My public OpenPGP key can be found at http://www.wwu.edu/~turnere/turnere.asc ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] Inetd Server
To find out if inetd is started, running the following command will show something like "63 ? S 0:00 /usr/sbin/inetd" in the output: ps -x | grep "inted" The place to configure inetd is in /etc/inetd.conf. Details about inetd can be found using "man inetd", but the basics of the /etc/inetd.conf are that each line in the configuration file specifies a service name, socket type, protocol, and some other information including what program should be run to handle the request. When a request is made from a remote computer for some sort of service on your machine, inetd checks to see if it has an entry for that service, and launches the program you specify in /etc/inetd.conf (if the entry exists). The alternative to having inetd launch a particular service is to have the service started when the system boots and always running and waiting for a connection (in UNIX lingo this is called a daemon). The downside to this is that it takes up more system resources to have daemons running for each service you wish to offer, but response to requests for the service are typically answered quicker this way than if the service were launched by inetd each time. Browse the /etc/inetd.conf file and see if you can make heads or tails of it. On my Slackware system the file is very well documented, so if yours doesn't have comments in it then let me know and I can send you mine! Eric R. Turner On Mon, 23 Oct 2000, antonxie wrote: > Dear All, > > on RH6.2, I think Inetd is automatically installed and runn... > but I don't know whether Inetd would need configuration...and how... > and tell me how to check if inetd is working > can i put some html files /in which directory? so I can check it from any >webbrowser > > Thanks > > anton xie > -- My public OpenPGP key can be found at http://www.wwu.edu/~turnere/turnere.asc ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] Apache Server
It works from http://202.143.143.54. To find out where to store your html documents, check the value of the DocumentRoot directive in http.conf. My http.conf file is located in /var/lib/apache/conf/, but that's on a Slackware system. Actually, if you can find your httpd.conf file then the location in which to store the html files shouldn't be too far away. For me they are in /var/lib/apache/htdocs/. Cheers, Eric R. Turner On Mon, 23 Oct 2000, antonxie wrote: > Dear all > I have serendipitously tried it on my web browser > http://202.143.143.54 and it showed an apache page saying "It worked" > then I tried using the computer name http://S04 and it's also worked > but where should I start uploading web pages > and please tell me can above addresses be accessed from your place? > Why? > > Thanks > > anton xie > -- My public OpenPGP key can be found at http://www.wwu.edu/~turnere/turnere.asc ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] directory that is writable by web server process
OOPS! I only gave read and execute permissions... chmod 770 ./foo/ On Sun, 22 Oct 2000, Eric Richard Turner wrote: > chmod 550 ./foo/ -- My public OpenPGP key can be found at http://www.wwu.edu/~turnere/turnere.asc ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] Inetd Server
OK, I'm having a bad night. I think it's time for bed :-) ps -x | grep "inetd" Eric R. Turner On Sun, 22 Oct 2000, Eric Richard Turner wrote: > ps -x | grep "inted" -- My public OpenPGP key can be found at http://www.wwu.edu/~turnere/turnere.asc ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] Inetd Server
On Mon, 23 Oct 2000, antonxie wrote: > Dear All, > > on RH6.2, I think Inetd is automatically installed and runn... inetd is a standard unix networking daemon which listens to ports specified by the servers listed in its configuration file, /etc/inetd.conf. It is usually run at startup in your rc configuration scripts. > but I don't know whether Inetd would need configuration...and how... inetd can be configured using the configuration file I previously specified, /etc/inetd.conf. Generally, the inetd.conf file included with most varients of Unix (and Linux, esspecially) lists most all options supported by the distributer. This is accomplished with the comment character '#'. If you take a peek at your inetd.conf file, you will see many lines in which the line's first character is '#' as well as lines that do not feature them. Here's a teeny snip from my inetd.conf file: ftp stream tcp nowait root/usr/libexec/ftpd ftpd -l #telnet stream tcp nowait root/usr/libexec/telnetdtelnetd This would mean that inetd is listening to ftp requests for ftpd and is not listening for requests for telnetd. The process for configuring inetd.conf is listed in inetd's man page as well as inetd.conf's. (man inetd; man inetd.conf) > and tell me how to check if inetd is working Generally, if the services listed in the inetd.conf file are able to be accessed, your inetd is functional. If they are not able to be accessed, inetd for some reason might simply not be started. Look for the process 'inetd' in the output of command 'ps ax' or simply use the command 'ps ax | grep inetd'. > can i put some html > files /in which directory? so I can check it from any webbrowser I'm not really sure I understand what you're asking. Robert Wade ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk
Re: [techtalk] Apache Server
> I have serendipitously tried it on my web browser > http://202.143.143.54 and it showed an apache page saying "It worked" > then I tried using the computer name http://S04 and it's also worked > but where should I start uploading web pages > and please tell me can above addresses be accessed from your place? > Why? Check out your httpd.conf file in your Apache install directory. There should be a directive in there called DocumentRoot. You need to set this directive to the folder where you want to put your web pages. For example: DocumentRoot /home/anton/www/htdocs I can access your IP address, but not your hostname from my box here. For more information, read the Apache documentation you have on your server here: http://202.143.143.54/manual/index.html Also, if you want real examples and more readable information, i think O'Reilly's _Apache: the Definitive Guide_ was well worth the $30 i payed for it. ~Christian ? Christian MacAuley ? http://colortheory.net ? http://jellspace.net ___ techtalk mailing list [EMAIL PROTECTED] http://www.linux.org.uk/mailman/listinfo/techtalk