[newbie] re: Apache
Hello Guys I installed Mandrake 10 and i noticed it came with apache installed. I have never used apache before but does anyone know where the main directory of all the http files are located. For example the welcome page for the Mandrake/Apache installation? Thanks! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] re: Apache
The default document root for apache is /var/www/html. The config files are in /etc/httpd/conf. Ta, Jamie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mrexecutive Sent: 03 December 2004 16:50 To: [EMAIL PROTECTED] Subject: [newbie] re: Apache Hello Guys I installed Mandrake 10 and i noticed it came with apache installed. I have never used apache before but does anyone know where the main directory of all the http files are located. For example the welcome page for the Mandrake/Apache installation? Thanks! ** E-mail Disclaimer ** This e-mail message is confidential and for use by the addressee only. If you are not the intended addressee, please reply to the sender and then delete the message from your computer. Please note that any views or opinions presented in this e-mail are those of the author and do not necessarily represent the views or opinions of The Benenden Healthcare Society Limited. You should check this e-mail and any attachments for the presence of viruses. The Benenden Healthcare Society Limited accepts no liability for any damages caused by any virus transmitted my this e-mail or its attachments. The Benenden Healthcare Society Limited is an incorporated friendly society, registered under the Friendly Societies Act 1992, registered number 480F. The Societys contractual business (the provision of tuberculosis benefit) is authorised by the FSA. The remainder of The Societys business is undertaken on a discretionary basis. The Society is subject to FSA requirement for prudential management. Registered Office Address: The Benenden Healthcare Society Limited, Holgate Park Drive, York. YO26 4GG. Tel: 0870 7545 700 Fax: 0870 7545 822 www.benenden.org.uk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] Apache and users cgi
On Tue, Oct 26, 2004 at 11:16:40PM +0800, frankieh wrote: Todd Slater wrote: I am hosting a few sites for friends that need cgi access. I read something about cgi scripts shouldn't be in the web document root for security purposes--people being able to read them as text. I turned on cgi by adding the ExecCGI in Directory /home/*/public_html which if I understand is not secure? What's the standard practice for doing this with users and virtual hosts? Todd Create a cgi-bin directory in parallel to your docs direcory and make that the directory that is able to exec cgi scripts. Directory /home/*/cgi-bin and then use ScriptAlias to make it available: ScriptAlias /cgi-bin/ /home/*/cgi-bin That should get you on the right track. Thanks, Franki. I ended up having to add another line to httpd.conf to get it to work: ScriptAliasMatch ^/~([^/]*)/cgi-bin/(.*) /home/$1/cgi-bin/$2 Todd -- Name that tune #22: No caffeine, no protein, no booze or nicotine. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] [OT] Apache and users cgi
I am hosting a few sites for friends that need cgi access. I read something about cgi scripts shouldn't be in the web document root for security purposes--people being able to read them as text. I turned on cgi by adding the ExecCGI in Directory /home/*/public_html which if I understand is not secure? What's the standard practice for doing this with users and virtual hosts? Todd -- Name that tune #4: I said, There is no justice! as they led me out the door; and the judge said, This isn't a court of justice, son, this is a court of law. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] Apache and users cgi
Todd Slater wrote: I am hosting a few sites for friends that need cgi access. I read something about cgi scripts shouldn't be in the web document root for security purposes--people being able to read them as text. I turned on cgi by adding the ExecCGI in Directory /home/*/public_html which if I understand is not secure? What's the standard practice for doing this with users and virtual hosts? Todd Create a cgi-bin directory in parallel to your docs direcory and make that the directory that is able to exec cgi scripts. Directory /home/*/cgi-bin and then use ScriptAlias to make it available: ScriptAlias /cgi-bin/ /home/*/cgi-bin That should get you on the right track. rgds Franki Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] initial apache setup
I have a different configuration but, initially, I had a similar problem I think. Since my two boxes were linked to a router which was, in turn, linked to the internet, when my second box was trying to access the web server of the first one, actually it looked liked it was accessing itself (because of the router). I had to create a correspondance in the hosts file (192.168.0.2 my.second.machine) in order to make it working properly. /stefano Bill Winegarden wrote: Hi Everyone, I am setting up a webserver using apache 1.3.8. It seems that I have the server functioning properly because I can see my simple web page when I type the IP address or localhost into the address bar of my browser. However, I have a second connection to the internet on a separate IP address in my home and I can't see anything when I address to my site. I went to grc.com and it seems that port 80 is open for business. Also, I tried to ping my web server machine (LM9.1) from the other (WinXP) and the was no responsetimed out. Is there some network config file that has to be set up in LM9.1 in order to accept connections? I can supply my IP addie if anyone want to try it. tia, Bill W. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] initial apache setup
Hi Everyone, I am setting up a webserver using apache 1.3.8. It seems that I have the server functioning properly because I can see my simple web page when I type the IP address or localhost into the address bar of my browser. However, I have a second connection to the internet on a separate IP address in my home and I can't see anything when I address to my site. I went to grc.com and it seems that port 80 is open for business. Also, I tried to ping my web server machine (LM9.1) from the other (WinXP) and the was no responsetimed out. Is there some network config file that has to be set up in LM9.1 in order to accept connections? I can supply my IP addie if anyone want to try it. tia, Bill W. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] initial apache setup
On Sun, Aug 03, 2003 at 10:32:14PM +, Bill Winegarden wrote: Hi Everyone, I am setting up a webserver using apache 1.3.8. It seems that I have the server functioning properly because I can see my simple web page when I type the IP address or localhost into the address bar of my browser. However, I have a second connection to the internet on a separate IP address in my home and I can't see anything when I address to my site. I went to grc.com and it seems that port 80 is open for business. Also, I tried to ping my web server machine (LM9.1) from the other (WinXP) and the was no responsetimed out. Is there some network config file that has to be set up in LM9.1 in order to accept connections? I can supply my IP addie if anyone want to try it. tia, Bill W. I can get to it--is it your online photo gallery? Todd -- If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Noam Chomsky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] FPSE2k2 - Apache help..
Hi all, A couple things I'd like to ask for some help or pointers to thorough documentation on.. I'm lost on so many levels right now concerning FPSE's and Apache.. I decided I was going to learn how to build websites through Frontpage as something amusing to do on the side, and to help out a friend on maintaining already built sites. I have Apache installed on MdK 9 just fine, and I can publish with FP2k2 and access the sites just fine from other machines. No big deal so far..here's where my questions begin. 1) Upgrading Apache. I downloaded a newer version of Apache and followed the instructions..or did I? Where does Apache live on a stock install of MDK9? If I point it to anywhere it doesn't matter, the scripts finish fine and say it was successful, but when I run a http -v it still tells me 1.3.26 and NOT the version I was hoping it had upgraded to. 2) Frontpage Server Extensions. What a pain. (to me) Again here's a question of where does what live at default? But with this one I actually managed to point it to the correct httpd somehow, but this also involves DOWNGRADING the current version which I would prefer to avoid. I can start the install, go through the configuration, but at the very end where it asks for the user and group so it can chmod it errors out saying there is no active local server on 8080, it fails out, I run a httpd -v and it shows me the version the FPSE downgraded it to. So to sum it up.. How would I PROPERLY upgrade Apache? Where does it live? /etc/httpd ? How do I PROPERLY install the FPSE's and KEEP the current version of Apache that I am running and not have this error out on me during the config? ANY help would be greatly appreciated, and I will be glad to do whatever to clarify issues further if someone does deem me worthy to help ;p Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] FPSE2k2 - Apache help..
On Tue, 18 Feb 2003 07:55:22 -0900 Robert Lamunyon [EMAIL PROTECTED] wrote: linux-mandrake.org The mailing list is [EMAIL PROTECTED] Yes .org works, but messes up everyone's filters ;-) Greetings Ralph -- http://tuxpower.f2g.net/ http://axljab.homelinux.org:8080/ Linux is not The Answer. Yes is the answer. Linux is The Question Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] FPSE2k2 - Apache help..
Didn't even notice the .org shoved in there, it's corrected now. -Original Message- From: Ralph Slooten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:15 AM To: [EMAIL PROTECTED] Cc: Mandrake-Newbie Subject: Re: [newbie] FPSE2k2 - Apache help.. On Tue, 18 Feb 2003 07:55:22 -0900 Robert Lamunyon [EMAIL PROTECTED] wrote: linux-mandrake.org The mailing list is [EMAIL PROTECTED] Yes .org works, but messes up everyone's filters ;-) Greetings Ralph -- http://tuxpower.f2g.net/ http://axljab.homelinux.org:8080/ Linux is not The Answer. Yes is the answer. Linux is The Question Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie-it] Apache e virtual host
Alle 17:10, martedì 10 dicembre 2002, Massimo Barina ha scritto: Salve a tutta la ml. Penso che il tuo problema sia in /etc/hosts Io uso questo tipo di configurazione... NameVirtualHost 127.0.0.4:80 VirtualHost 127.0.0.4:80 ServerName www.myautosite.it DocumentRoot /var/www/html/myautosite ServerAdmin [EMAIL PROTECTED] CustomLog logs/www.myautosite.it-access_log common ErrorLog logs/www.myautosite.it-error_log ErrorDocument 404 /404.php /VirtualHost ed in /etc/hosts c'è la riga... 127.0.0.4 www.myautosite.it Quindi prova e... P.S. Scusa il ritardo ma sono giorni che non leggo la posta. ;-P -- saluti Giovanni Mazzamati ++ |Linux Mandrake 9.0 - KDE 3.0.3 user | |Registred User #183142 | ++ | Un giorno le macchine riusciranno | | a risolvere tutti i problemi, ma | | mai nessuna di esse potrà porne| | uno. | || | Albert Einstein| ++
[newbie-it] Apache e virtual host
Salve a tutta la ml. Volevo chiedere come si fa a configurare più virtual host su apache, mi spiego meglio ho installato mandrake 8.2 con anche apache 1.3.23 ho tentato di configurare dei vitrtual host andando a modificare il file /etc/http/conf/vhosts/Vhosts.conf ma non funziona nel senso che mi fa vedere una pagina web su una directory diversa da quella che ho impostato nel file ho scritto esattamente quanto segue: NameVirtualhost webmail.mydomain.comVirtualHost webmail.mydomain.comServerName webmail.mydomain.comServerPath /webmailDocumentRoot /var/www/html/VirtualHost e precendentemente avevo scritto NameVirtualhost webmail.mydomain.comVirtualHost 111.111..111ServerName webmail.mydomain.comServerPath /webmailDocumentRoot /var/www/html/VirtualHost dove sbaglio? Grazie
[newbie] Java, Apache, Opera
I thought I had Opera set up to run java--sometimes it works, sometimes it doesn't. It works on the Sun page (http://java.sun.com/), but it doesn't work when I try to play Diamond Mine (http://www.popcap.com/index.php). I'm trying to serve the SOJA applet for serving SMIL presentations--added MIME type to Apache, applet and SMIL presentation work in Mozilla, not Opera. S, I think Apache is OK, but when trying to look at the page in Opera, the Java Console pops up, and I get the gray box that says Java Applet Loading, but that's as far as it gets. The page in question is http://clevername.homeip.net/present/soja.html. Is this a question for the Opera list, or does anybody here have experience with this? I'm running 6.01 static QT. (LM 8.1) -- Todd Slater The aim of public education is not to spread enlightenment at all; it is simply to reduce as many individuals as possible to the same safe level, to breed a standard citizenry, to put down dissent and originality. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java, Apache, Opera
On Sunday 09 June 2002 5:09 pm, Todd Slater wrote: I thought I had Opera set up to run java--sometimes it works, sometimes it doesn't. It works on the Sun page (http://java.sun.com/), but it doesn't work when I try to play Diamond Mine (http://www.popcap.com/index.php). I'm trying to serve the SOJA applet for serving SMIL presentations--added MIME type to Apache, applet and SMIL presentation work in Mozilla, not Opera. S, I think Apache is OK, but when trying to look at the page in Opera, the Java Console pops up, and I get the gray box that says Java Applet Loading, but that's as far as it gets. The page in question is http://clevername.homeip.net/present/soja.html. Is this a question for the Opera list, or does anybody here have experience with this? I'm running 6.01 static QT. (LM 8.1) I think the www.popcap.com problem is because of the javascript used to launch the applet. Opera does not support some javascript extensions. That site works fine for me in Galeon/Mozilla. - Nice game. My daughter will like that one. As for your homepage, it does not work for me in Opera either, but konqueror/Galeon has no trouble. You might like to mention that on the opera.linux newsgroup (Nice looking kids :-) derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java, Apache, Opera
On Sun, 9 Jun 2002 18:06:21 +0100 Derek Jennings [EMAIL PROTECTED] wrote: On Sunday 09 June 2002 5:09 pm, Todd Slater wrote: I thought I had Opera set up to run java--sometimes it works, sometimes it doesn't. It works on the Sun page (http://java.sun.com/), but it doesn't work when I try to play Diamond Mine (http://www.popcap.com/index.php). I'm trying to serve the SOJA applet for serving SMIL presentations--added MIME type to Apache, applet and SMIL presentation work in Mozilla, not Opera. S, I think Apache is OK, but when trying to look at the page in Opera, the Java Console pops up, and I get the gray box that says Java Applet Loading, but that's as far as it gets. The page in question is http://clevername.homeip.net/present/soja.html. Is this a question for the Opera list, or does anybody here have experience with this? I'm running 6.01 static QT. (LM 8.1) I think the www.popcap.com problem is because of the javascript used to launch the applet. Opera does not support some javascript extensions. That site works fine for me in Galeon/Mozilla. - Nice game. My daughter will like that one. As for your homepage, it does not work for me in Opera either, but konqueror/Galeon has no trouble. You might like to mention that on the opera.linux newsgroup (Nice looking kids :-) derek Thanks--just the youngest is mine, but we've got another that will be here soon! I did mention it on opera.linux. I read a bunch of posts regarding java. The interesting thing (to me) is that it loads in Opera fine when run locally, but when I try to pull it over the web, nothing. -- Todd Slater To compel a man to furnish contributions of money for the propagation of opinions which he disbelieves and abhors is sinful and tyrannical. (Thomas Jefferson, 1777) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie-it] apache
come posso disinstallare il vecchio apache e montare il nuovo??
Re: [newbie-it] apache
Alle 02:05, giovedì 16 maggio 2002, Jacopo ha scritto: come posso disinstallare il vecchio apache e montare il nuovo?? Dal mandrake control center. Un saluto.
Re: [newbie] Starting Apache + PHP
Hi Todd, Just received your message today (Feb 1st!). In the meantime, I dumped the LM8.0 versions of Apache/PHP and tried source. Not much better. Anyway, I re-installed LM8.0 versions and, yes, in commonhttpd.conf there are those lines which I uncommented. Now, either as user or root, with the test file in /var/www/html, I still get text. So, how did you activate php? What did you do if you wanted to run a test to see if it was working? Where did you do it from (and did you try as user with permissions to the group apache? What should I expect to see? Unfortunately, I've trashed Netscape's mime-types after trying manually to insert the type: whenever I try a php file, it asks me where I want to save it. If only I could remember where I deleted entries like that in Netscape . . . : This has gone beyond an obsession. I've sort of lost track exactly why I want php installed, if the installtion causes so much grief, what about when it's in use? Anyway, thanks for the tip. If you've got any other suggestions to get this php thing php-ing, I I love to hear them! Regards, Andre On Tuesday 29 January 2002 17:15, you wrote: On Tuesday 29 January 2002 03:20 pm, Andre Dubuc wrote: The problem with my LM8.0 configuration for Apache is that it doesn't have those lines AddType in any of the .conf files! I wondered what they were talking about -- and I have checked them all! In desperation, I finally decided to go source. I d/l the binary from Apache, and after my first attempt, I still cannot see my test file. I'll have to check my PHP config. I think my version of Apache is pretty recent. You don't have a file commonhttpd.conf in /etc/httpd/conf? Maybe do a find? This is about half-way through my commonhttpd.conf, and I just uncommented the last two lines: # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I guess the nice thing about installing it from Mandrake disc is that it's already configured. I didn't touch any PHP file. Is moving up to 8.1 (or soon, 8.2) an option? Perhaps, that's the problem: I'm unclear where any files that I make should go. Are they supposed to be put in the /htdocs area in apache's directory? Will they work from elsewhere? I've also set up a /public_html directory in personal home directory. My web files go in /var/www/html. If your root is /htdocs, that's where I would put them. I'm not sure but what you may need to give permission to normal users to use PHP. Maybe try alt.os.linux.mandrake, a PHP or Apache group. Todd Content-Type: text/plain; charset=iso-8859-1; name=message.footer Content-Transfer-Encoding: 8bit Content-Description: -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
On Tuesday 29 January 2002 03:20 pm, Andre Dubuc wrote: The problem with my LM8.0 configuration for Apache is that it doesn't have those lines AddType in any of the .conf files! I wondered what they were talking about -- and I have checked them all! In desperation, I finally decided to go source. I d/l the binary from Apache, and after my first attempt, I still cannot see my test file. I'll have to check my PHP config. I think my version of Apache is pretty recent. You don't have a file commonhttpd.conf in /etc/httpd/conf? Maybe do a find? This is about half-way through my commonhttpd.conf, and I just uncommented the last two lines: # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I guess the nice thing about installing it from Mandrake disc is that it's already configured. I didn't touch any PHP file. Is moving up to 8.1 (or soon, 8.2) an option? Perhaps, that's the problem: I'm unclear where any files that I make should go. Are they supposed to be put in the /htdocs area in apache's directory? Will they work from elsewhere? I've also set up a /public_html directory in personal home directory. My web files go in /var/www/html. If your root is /htdocs, that's where I would put them. I'm not sure but what you may need to give permission to normal users to use PHP. Maybe try alt.os.linux.mandrake, a PHP or Apache group. Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Starting Apache + PHP
Sounds to me like to you don't have all the necessary apache rpm's installed. I'd recommend you go into software manager, select flat-listing and enter apache in the search box. Install anything which is shown. -Original Message- From: Andre Dubuc [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 8:21 PM To: Todd Slater Cc: [EMAIL PROTECTED] Subject: Re: [newbie] Starting Apache + PHP On Tuesday 29 January 2002 13:43, you wrote: Andre, I just got php up and running (I think) without a fuss. I'm using Mandrake 8.1 and I installed php, php-common, php-manual_en, and php-mysql. Then, I went to the Apache configuration folder--on my system /etc/httpd/conf. I opened commonhttpd.conf with vi, and scrolled down to the part about php. I just uncommented two lines (remove the #) about AddType blah blah .php and saved it. I stopped httpd. I started httpd I looked for the most basic script I could find because I don't know anything about it, and found a date one here: http://www.terrabyte.dc.com.au/phpscripts.php3. I put that in my web directory (renamed the text-file .php) and called it and it worked! I don't know if that will help or not. Todd Thanks Todd, The problem with my LM8.0 configuration for Apache is that it doesn't have those lines AddType in any of the .conf files! I wondered what they were talking about -- and I have checked them all! In desperation, I finally decided to go source. I d/l the binary from Apache, and after my first attempt, I still cannot see my test file. I'll have to check my PHP config. Perhaps, that's the problem: I'm unclear where any files that I make should go. Are they supposed to be put in the /htdocs area in apache's directory? Will they work from elsewhere? I've also set up a /public_html directory in personal home directory. I'm having all sorts of fun installing/uninstalling and generally messing about with these programs. Sure is a great way to find out where everything is, and how everything is inter-related. Too bad it doesn't work! Regards, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ File: message.footer ** This email and any files sent with it are intended only for the named recipient. If you are not the named recipient please telephone/email the sender immediately. You should not disclose the content or take/retain/distribute any copies. ** Norwich Union Life Pensions Limited Registered Office 2 Rougier Street York YO90 1UU Registered in England Number 3253947 A member of the Norwich Union Marketing Group which is regulated by the Personal Investment Authority. Member of the Association of British Insurers. For further Enquires 01603 622200 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
Hi Steve, Well that option has been fully explored: I installed everything! Still no go. I just received my LM8.0 Update disk today and dumped my original config, reloaded everything, and I was very surprised to find the http.conf file exactly like the one that has the missing AddType lines. I didn't bother with the update disk -- I've already downloaded the Apache binary and have source PHP 4.1.1. This version of Apache has the AddType lines that can be uncommented. Now it seems to be more of a question of permissions for the php files. (At least I've seen the run-tests.php in action!) I don't know what was messed up with the stock LM8.0 config, but my guess, from examining the updates, is that PHP had caused a problem. I seem to luck-in with these no-go installations ! Anyway, It's been a great learning experience! (This is terribly excellent fun! Much better than the boring ...has performed an illegal operation and will be shut down. At least this way I can mess it up some more! :) Thanks for your suggestion. Regards, Andre On Tuesday 29 January 2002 17:13, you wrote: Sounds to me like to you don't have all the necessary apache rpm's installed. I'd recommend you go into software manager, select flat-listing and enter apache in the search box. Install anything which is shown. -Original Message- From: Andre Dubuc [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 8:21 PM To: Todd Slater Cc: [EMAIL PROTECTED] Subject:Re: [newbie] Starting Apache + PHP On Tuesday 29 January 2002 13:43, you wrote: Andre, I just got php up and running (I think) without a fuss. I'm using Mandrake 8.1 and I installed php, php-common, php-manual_en, and php-mysql. Then, I went to the Apache configuration folder--on my system /etc/httpd/conf. I opened commonhttpd.conf with vi, and scrolled down to the part about php. I just uncommented two lines (remove the #) about AddType blah blah .php and saved it. I stopped httpd. I started httpd I looked for the most basic script I could find because I don't know anything about it, and found a date one here: http://www.terrabyte.dc.com.au/phpscripts.php3. I put that in my web directory (renamed the text-file .php) and called it and it worked! I don't know if that will help or not. Todd Thanks Todd, The problem with my LM8.0 configuration for Apache is that it doesn't have those lines AddType in any of the .conf files! I wondered what they were talking about -- and I have checked them all! In desperation, I finally decided to go source. I d/l the binary from Apache, and after my first attempt, I still cannot see my test file. I'll have to check my PHP config. Perhaps, that's the problem: I'm unclear where any files that I make should go. Are they supposed to be put in the /htdocs area in apache's directory? Will they work from elsewhere? I've also set up a /public_html directory in personal home directory. I'm having all sorts of fun installing/uninstalling and generally messing about with these programs. Sure is a great way to find out where everything is, and how everything is inter-related. Too bad it doesn't work! Regards, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ File: message.footer ** This email and any files sent with it are intended only for the named recipient. If you are not the named recipient please telephone/email the sender immediately. You should not disclose the content or take/retain/distribute any copies. ** Norwich Union Life Pensions Limited Registered Office 2 Rougier Street York YO90 1UU Registered in England Number 3253947 A member of the Norwich Union Marketing Group which is regulated by the Personal Investment Authority. Member of the Association of British Insurers. For further Enquires 01603 622200 -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
On Saturday 26 January 2002 10:27, you wrote: On Saturday 26 January 2002 09:53 am, Andre Dubuc wrote: I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Andre, I'm a newbie too, but I think this is one question I can answer! If you have httpd running, then Apache is running. By default it installs the web documents in the directory /var/www/html. There is also /var/www/cgi-bin where all the scripts can go. You can access your web stuff by typing http://localhost in your browser. If you know your IP address, you can type that in as well. You should get a page telling about the version of Apache that you are running. That's just to let you know that the server is running. To avoid having to be root to add/change to your web directory, you have to add yourself to the group Apache. This can be done using UserDrake. Then, you should give the group write access to /var/www. Do this by typing chmod g+w /var/www. That gives the group write permissions to the directory. You may have to log out and back in for that to take effect, I'm not sure. Then you should be able to edit and write new stuff in your /var/www/html directory. If your users want to have web pages, they have to create a directory in their home directory called public_html. That's where they put all their web stuff. Then the user has to issue the command chmod 755 ~USERNAME. Then the user's directory can be reached by http://yourip/~username;. HTH, Todd Hi Todd, I've been struggling with the PHP module trying to get it to work. I've followed your instructions, but the Apache module doesn't seem to recognize PHP. I ran the test.php (? phpinfo() ; ?) and I just see the text as it is written here. In the docs, they mention that I should ad AddType application/x-http-php .php in the http.conf. I'm not exactly sure where I should add this: I've placed it after the include statement in the Global Configuration. Problem is: in the Mime.types it doesn't show up. I can't get the AddType to work, so of course, PHP is non-functional in any test. I've d/l the newest stable version of PHP, followed all the instructions (with/without, in various combinations, the following: Mysql, Postgresql, Apache. PHP) I've tried the bare-bones approach: only Apache and PHP - installing PHP 1st, then Apache first from LM8.0. Nothing seems to work. I do get the Apache splash screen. I've loaded Webmin, and then removed it with little effect. (I've followed PHP instructions --with-mysql=/path. ...) This is becoming an obsession -- almost like my attempts with HylaFax! If you have any ideas on how to get PHP up-and-running, I'd greatly appreciate your assistance. I can't develop my new web-site until I get PHP functional. Perhaps you could send me a copy of your (working) httpd.conf and php.ini files so I could maybe see what I've messed up. (Btw, in my last LM8.0 install of PHP, I couldn't find php.ini anywhere. Sorry to be so long-winded, but this is . . . sigh! Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Starting Apache + PHP
I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
Take a look at http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html , which guides you step by step through setting up an apache web server, along with mysql, php, and mod_ssl. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 09:53 AM 01/26/2002 -0500, Andre Dubuc wrote: I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
I picked up a book, PHP Fast Easy Web Development, by Julie C. Meloni, and it comes with a CD containing Apache, PHP and MySQL - both Windows and Linux versions. The explanations and exercises are very good. Andre Dubuc wrote: I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Larry Varney Cold Spring, KY http://w3.one.net/~lvarney Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
The htpd you are seeing is the Apache deamon. To be sure that php is working, do httpd -l from the command line and you will see the compiled modules - or view them from webmin since you have it running. Also, if you start a browser and try http://127.0.0.1 the Apache info and congratualtions page will pop up Ed Kasky Los Angeles, CA ~~~ Gravitation is not responsible for people falling in love. ~ Albert Einstein On Sat, 26 Jan 2002, Andre Dubuc wrote: I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
On Saturday 26 January 2002 10:27, you wrote: On Saturday 26 January 2002 09:53 am, Andre Dubuc wrote: I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Andre, I'm a newbie too, but I think this is one question I can answer! If you have httpd running, then Apache is running. By default it installs the web documents in the directory /var/www/html. There is also /var/www/cgi-bin where all the scripts can go. You can access your web stuff by typing http://localhost in your browser. If you know your IP address, you can type that in as well. You should get a page telling about the version of Apache that you are running. That's just to let you know that the server is running. To avoid having to be root to add/change to your web directory, you have to add yourself to the group Apache. This can be done using UserDrake. Then, you should give the group write access to /var/www. Do this by typing chmod g+w /var/www. That gives the group write permissions to the directory. You may have to log out and back in for that to take effect, I'm not sure. Then you should be able to edit and write new stuff in your /var/www/html directory. If your users want to have web pages, they have to create a directory in their home directory called public_html. That's where they put all their web stuff. Then the user has to issue the command chmod 755 ~USERNAME. Then the user's directory can be reached by http://yourip/~username;. HTH, Todd Thanks Todd, That ot me up-and-running! I also understand what httpd is now (I never noticed the comments on the bottom of LinuxConf screen when I checked httpd!) I still can't load any php test scripts, even though the modules are loaded in httpd.conf. I wonder whether the test script needs to be written in php.4 (it's php.3) -- even though I loaded the older modules as well in httpd.conf. Obviously, I think you can tell I don't know what I'm doing here! I think I'll have to do some reading as Michael suggested . . . sigh! One last thing, what effect will chmod g+w /var/www have on Bastille? It doesn't seem to like that command too much. I'm a littel leary about changing pemissions to programs and files that I don't know too much about. Regard, Andre Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
Thanks Ed, I tried httpd -l from the command line and I got: bash: httpd: command not found (neither as ~ or root) I wonder whether php is working, since the little php test script doesn't work. Any ideas? Tia, Regards, Andre On Saturday 26 January 2002 11:12, you wrote: The htpd you are seeing is the Apache deamon. To be sure that php is working, do httpd -l from the command line and you will see the compiled modules - or view them from webmin since you have it running. Also, if you start a browser and try http://127.0.0.1 the Apache info and congratualtions page will pop up Ed Kasky Los Angeles, CA ~~~ Gravitation is not responsible for people falling in love. ~ Albert Einstein On Sat, 26 Jan 2002, Andre Dubuc wrote: I'm not even sure how to ask this: that's how abysmal my knowledge of servers. I would like to learn scripting in PHP, and I need to run an Apache server to test the code. I've installed (in LM 8.0) all the appropriate Apache programs and modules, and all the PHP related stuff. In the LinuxConf - Service Control, I notice that apache is not listed, and both httpd and webmin are running. What do I have to do to get a working server so that I can test any code that I write in html/php? (Can I use my only computer as a stand-alone server, and access it as a client? I assume that I should be able to do something like that especially since freeciv sets up server/client on my machine.) If someone could point me in the right direction, it would save me wading through tons of documentation that assumes I have Apache up-and-running! Help? Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Content-Type: text/plain; charset=us-ascii; name=message.footer Content-Transfer-Encoding: 8bit Content-Description: -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting Apache + PHP
Yes, the ISBN is 0-7615-3055-x. It's published by Prima Tech. sda wrote: On Sat, Jan 26, 2002 at 10:26:34AM -0500, Larry Varney wrote: I picked up a book, PHP Fast Easy Web Development, by Julie C. Meloni, and it comes with a CD containing Apache, PHP and MySQL - both Windows and Linux versions. The explanations and exercises are very good. Larry - do you have the ISBN# for this book? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Larry Varney Cold Spring, KY http://w3.one.net/~lvarney Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Two apache questions
I know I have asked these before but I can't seem to find them in the archives and I have somehow lost them. 1. How do I setup a password protected site? The .htaccess file goes in the directory you want protected? What goes in the .htaccess file? What goes in and where does the .htpaswd file go? Or is that even the right file? 2. How do I create my own certificates for my site? I know it has something to do with mod_ssl right? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Two apache questions
do a search on google for htaccess you will find more info then you know what to do with.. there are a heaps of differnt things you can put in there depending on what you want to do, so you would be better off seeing for yourself then my telling you.. you may have to change your httpd.conf to allow overrides to,, you can do that from linuxconf if you need to, ,and don't like manual editing.. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Doe Sent: Monday, 17 December 2001 1:57 AM To: Newbie Subject: [newbie] Two apache questions I know I have asked these before but I can't seem to find them in the archives and I have somehow lost them. 1. How do I setup a password protected site? The .htaccess file goes in the directory you want protected? What goes in the .htaccess file? What goes in and where does the .htpaswd file go? Or is that even the right file? 2. How do I create my own certificates for my site? I know it has something to do with mod_ssl right? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] xinetd + Apache/Samba ?
Hi, I just updated from LM 7.1 to 8.0 so now I have to learn how to use xinetd instead of inetd. I read that xinetd could run any services I wanted. I guess that's right for the services that inetd was already running (cvspserver, ftpd,...). Had someone tried to run other (new?) services via xinetd ? Did it work ? I tried sshd and it seems to be working fine. Has somebody tried to run an Apache server or a Samba server via xinetd? Jean-Philippe
Re: [newbie] weird apache log
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not 100% certain, but I think it may be a request generated by the Code Red worm, trying to find an NT IIS web-server to infect. I've seen similar requests coming in on my DSL router. Dave On Saturday 04 August 2001 13:57, thus spake Jon Doe: I have this in my access log for apache, is this normal? 65.84.202.130 - - [04/Aug/2001:14:41:51 -0400] GET /default.ida?XXX X X XXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090 %u6858%ucbd3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078% u%u00=a HTTP/1.0 404 306 - - - -- Nihil tam munitum quod non expugnari pecunia possit. (No fortification is such that it cannot be subdued with money.) - - Marcus Tullius Cicero, 106-43 B.C. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7bEiRA68l26XsZUYRAoLIAKDe76Z4FSUw/3rWp9FRlLEIhjG/pwCfdGbG 8iOQQZX4nIpUbHvM9ShhaAo= =mlmW -END PGP SIGNATURE-
Re: [newbie] weird apache log
It's CodeRed trying to infect you. Don't worry, yo'ure good to go. There are three other worms floating around. If you look through the log and see the same info except with in there, that's the first strand of the worm. There are also two worms going around that try and run a cmd.exe on the machine, and of course we don't have that on our machines do we? 203.164.3.164 - - [09/Jun/2001:11:51:25 -0400] GET /scripts/..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af/winnt/system32/cmd.exe?/c%20dir HTTP/1.0 404 332 - - That's one of them. We are safe until they decide to try and exploit a hole in Apache, of which the last hole Apache had they released an update. I believe that was about 2 or 3 months ago. It's not 'normal' but you're going to get those for a while now, until all the world patchs their IIS servers or they all switch to Apache! Or of somebody creates a worm to fix the worm. Which I know a few people have rumored to try! tdh -- T. Holmes - UNIXTECHS.org [EMAIL PROTECTED] - Real Men Use Vi! Uptime: 3:59pm up 3 days, 2:54, 7 users, load average: 0.00, 0.00, 0.00 | I have this in my access log for apache, is this normal? | | 65.84.202.130 - - [04/Aug/2001:14:41:51 -0400] GET | |/default.ida?%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a | | HTTP/1.0 404 306 - - | --
[newbie-it] apache e permessi
ciao, Scusate se riposto ma spero che qualche d'uno mi risponda e possa aiutarmi. Io ho un problema molto urgente, non riesco ad usare apache da utente,non mi permette di salvare i files nella documentroot . Tentativi fatti: 1) chmod a+rwx /var/www # nessun effetto. 2) ho aggiunto con (userdrake) l'utente al gruppo apache #nessun effetto 3)la mia versione è una mdk 8.0 con apache 1.3.19 ci sono 2 files ci configurazione: commonhttpd.conf e httpd.conf ,quest'ultimo include il primo. La prima direttiva è : Users che di default era apache ed io ho cambiato con il nome utente , e lo stesso ho fatto per la direttiva Group,ho arrestato e riavviato apache ma anche in questo caso niente da fare. Ad un controllo con ls -la tutte le dir e i files sono di apache e root. Spero vivamente che qualcuno mi voglia dare una mano perchè non so che pesci pigliare. ciao e grz lobax
[newbie] loading apache at boot time
Hello! everybody, I have a Linux-Mandrake 7.0 and that it has an Apache server built in to it. but I decided to download an Apache Server from Apache's site and install it to my Mandrake box, My problem is that everytime I reboot my computer I have to manually load the apache that I've download and install and kill the exsisting Apache server.How do I tell my Mandrake box to load the Apache that I've downloaded and not the one that that is built on to it.? Thanks -Click here for Free Video!!http://www.gohip.com/free_video/
Re: [newbie] loading apache at boot time
Jhun; Log in to your PC as "root". Open a console/terminal. run "kpackage". Click on "File", "Find Package" , and type in "apache". You should find up to 8 entries by continously clicking the "find" button. In the proiper sequence, un-install each package one at a time. The sequence of the un-install depends on which apache packages you have installed. Each one that generates an error will tell you which package(s) it depends upon. Un-install those packages first, then un-install the dependant packages. Make sure that you have the newset versions of the new apache packages before un-installing anything! ( they can be found at www.rpmfind.net, or www.webmin.org ). Save a copy of your web-site material first! Install the new apache packages (again in the order determined by dependancies, and restart your PC/Server. Use webmin to configure the new apache. Your done! On Saturday 03 March 2001 06:10, you wrote: Hello! everybody, I have a Linux-Mandrake 7.0 and that it has an Apache server built in to it.. but I decided to download an Apache Server from Apache's site and install it to my Mandrake box, My problem is that everytime I reboot my computer I have to manually load the apache that I've download and install and kill the exsisting Apache server. How do I tell my Mandrake box to load the Apache that I've downloaded and not the one that that is built on to it.? Thanks. - Click here for Free Video!! http://www.gohip.com/free_video/ Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" Content-Transfer-Encoding: quoted-printable Content-Description: -- Dan LaBine Registered Linux User #190712
[newbie] newbie apache problem
please help, i've started my apache with root, then i browse with opera but only showing connecting (for long time) without giving any HTML result. i checked /etc/httpd/logs/error_log found many rows displayed [error] System : Permission denied (errno: 13) [error] mod_ssl: Child could not open SSLmutex lockfile /etc/httpd/ssl_mutex.629 (System error follows) what should i do?, thanks. Adi
[newbie-it] apache
qualc'uno mi sa dire perch il webserver mi visualizza solo all'host http://localhost il doc index shtlm del manuale apache e non qualsiasi altri doc htlm nella sressa dir? piu precisamente mi mostra il codice nel file apache-mime.types la riga sempra ci sia ed : text/htlmhtlm htm e giusta? grazie lobax
[newbie] Tomcat Apache (Suggestions Please)
This question is in regards to designing the best system for operating Tomcat and Apache on an LM 7.2 box. The knowns: First, the peak number of users is 2000 users in one night. Second, the hardware needs to be an Athlon system. Third, the hard drive must be a SCSI 40 GB. HOW would you design this system for the best performance so that every user who visits the site is quickly and properly served. Assumptions: The more RAM the better. Adaptec's SCSI 29160 Athlon 1.1 GHz ASUS A7V Has anyone tried a system similar to this? Any known issues or problems? In terms of the distribution :-) How much tweaking is going to be required to get this system PERFECT? Will all of the dependencies work out of the distro box? Will all of the drivers be present? Should the Kernel be moved to 2.4.0 before deploying the server? Apache in the 7.2 distro is optimized by SGI - any hiccups from these code changes between Apache and Tomcat? Do you see anything MAJORLY wrong with designing a system around Tomcat and Apache using LM 7.2? ___ Layne P. Heiny Linux Tests Webmaster Colored my first punch card in 1968 ICQ #9097776 AIM: DoubleLinux [EMAIL PROTECTED]http://www.linuxtests.org == Testing New PC Hardware under GNU/Linux =
Re: [newbie] Tomcat Apache (Suggestions Please)
I have an Athlon 900Mhz, 768Mb Ram, Asus A7V, but IDE Drives. Absolutely no Problems. Have fun, Good Luck. Do yourself a favor, though. Before installing, disable your Plug 'n' Pray in the BIOS. See if you can successfully disable ACPI as well. Install should go better. Dan - Original Message - From: "Linux Tests" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 13, 2001 11:36 AM Subject: [newbie] Tomcat Apache (Suggestions Please) This question is in regards to designing the best system for operating Tomcat and Apache on an LM 7.2 box. The knowns: First, the peak number of users is 2000 users in one night. Second, the hardware needs to be an Athlon system. Third, the hard drive must be a SCSI 40 GB. HOW would you design this system for the best performance so that every user who visits the site is quickly and properly served. Assumptions: The more RAM the better. Adaptec's SCSI 29160 Athlon 1.1 GHz ASUS A7V Has anyone tried a system similar to this? Any known issues or problems? In terms of the distribution :-) How much tweaking is going to be required to get this system PERFECT? Will all of the dependencies work out of the distro box? Will all of the drivers be present? Should the Kernel be moved to 2.4.0 before deploying the server? Apache in the 7.2 distro is optimized by SGI - any hiccups from these code changes between Apache and Tomcat? Do you see anything MAJORLY wrong with designing a system around Tomcat and Apache using LM 7.2? ___ Layne P. Heiny Linux Tests Webmaster Colored my first punch card in 1968 ICQ #9097776 AIM: DoubleLinux [EMAIL PROTECTED]http://www.linuxtests.org == Testing New PC Hardware under GNU/Linux =
[newbie-it] Apache forbidden
Ciao a tutti, ho appena installato Apache+mysql+php su mandrake 7, non ho avuto problemi per l'instazione di questi programmi ma appeno cerco di accedere a http://localhost con netscape ottengo il messaggio "Error 403 Forbidden." Sappiate che : Non è un problema di permessi Esiste un file chiamato index.html Ottengo lo stesso errore se cerco di vedere un file con indirizzo localhost/.xxx Spero sappiate aiutarmi perchè sto impazzendo ciao :-)
[newbie] re apache and iis (reposting)
I wanted to know if anybody has any input into using iis and apache. I wanted to do some vb scripting threw iis and wanted to know if I could use my apache web serveer. if so where can I get the setup files and instructions for it? and does it work like in winblows where i can use visual studios to connect remotely and config the page directly?? let me know. Regards Mike Freeman Embrace the Penguin. Give Bill the cold shoulder! Linux Registered User #190770 (10/02/2000) Get your own free email account from http://www.popmail.com
[newbie] getting apache to server user pages
After a fresh install of 7.2, I can't seem to access /~username/ webpages. (I get a 'forbidden' message) I've changed the /home/username and /home/username/public_html/ directories perms to 755 and the index.html file's perm is 644. What else might I have to do to enable user web pages.
[newbie] re apache + iis
I wanted to know if anybody has any input into using iis and apache. I wanted to do some vb scripting threw iis and wanted to know if I could use my apache web serveer. if so where can I get the setup files and instructions for it? and does it work like in winblows where i can use visual studios to connect remotely and config the page dirrectly?? let me know. Regards Mike Freeman Embrace the Penguin. Give Bill the cold shoulder! Linux Registered User #190770 (10/02/2000) Get your own free email account from http://www.popmail.com
[newbie] Re: apache question
Mike, You could check your processes and grep for httpd or you can try to locate the httpd.conf file...if it is version 7.1 then it is 1.3.12...soemthing and there would also be a /home/httpd/html dir and that is a good sign that it's there...chances are though if you just did a fresh install and can't bring up a local web page that it isn't therethe RPM's are on the disk though. Now I have a question I'm trying to password protect my web sitesif I use my .htaccess and .htpasswd files in my user dirs ( ~/public_html/ ) I get the proper password prompt and it works finebut If I'm serving any pages of the root server ( /var/www/html/ ) and use the same files (with the proper path adjustments made) it doesn't work.Does anyone have any thoughts there? On Thu, 26 Oct 2000 [EMAIL PROTECTED] wrote: I like to try many flavors and versions of Linux. On this particular episode of mandrake 7.1 I installed I did not get a web page. Normally when I install (After getting my network up and functional) I type in my IP and I get the default apache web page. This time I get page not found error. Is there a way to check and see if I have it installed? I also have swat and webmin running. Can they run without apache? Regards Mike Freeman Embrace the Penguin. Give Bill the cold shoulder! Linux Registered User #190770 (10/02/2000) Get your own free email account from http://www.popmail.com -- __ _) (, /) ,/ /) /---( __ _ __ / ___ _ __ _ // ) / )/ (__(_(_(_/ (_ / / ) (_(_/ (__(/_(/_ (_/ ( ( /
Re: [newbie] Wine, Apache
On Wednesday 25 October 2000 11:37 am, you wrote: Is wine just for windows? Can it also run a DOS app under linux, or dosemu better? Jeff Malka never bothered to try dosemu. _VERY_ rarely will dos apps written to run either win or dos work either. I've got some dos apps I wrote compiled to run under Windoze a long time ago. They sort'a kind'a run with wine, but unsatifactorily (ie, unusable). Same for the ones i wrote to run under dos. For the most part, bottom line is you need to be a linux/windoze/wine guru for wine to be anything more than a challenge or toy (take your pic). Even the latest, wine-20001002. Let me say i've never tried any alternatives either (eg, vmware, freemware[ http://www.freemware.org/ ], or any others). Besides, _why_ ?? If you wanna run Winblows apps... dual boot. I should mention in addition to what I posted about editing 'wine.conf' Sometimes I've installed a new version of Mandrake and wine.conf is empty. Others have reported the same. My fix is to do an ftp search for 'wine.ini', save it as /etc/wine.conf and edit it to reflect your windoze mount point(s), as root of course. -- Tom Brinkman[EMAIL PROTECTED] Galveston Bay
[newbie] another apache question
I have loaded a web page on my server and was wondering if there was an easy way to have a login screen pop up first? Regards Mike Freeman Embrace the Penguin. Give Bill the cold shoulder! Linux Registered User #190770 (10/02/2000) Get your own free email account from http://www.popmail.com
Re: [newbie] another apache question
Use PHP and code it in? Is a simple process. I think Apache does offer auth support but I've never bothered using it (as I find that sort of auth annoying). *^*^*^* Have the courage to take your own thoughts seriously, for they will shape you. -- Albert Einstein On Wed, 11 Oct 2000 [EMAIL PROTECTED] wrote: I have loaded a web page on my server and was wondering if there was an easy way to have a login screen pop up first? Regards Mike Freeman Embrace the Penguin. Give Bill the cold shoulder! Linux Registered User #190770 (10/02/2000) Get your own free email account from http://www.popmail.com
Re: [newbie] Getting apache back to default?
Uninstalling Apache might not be a bad idea depending on just how misconfigured it is at the moment. You may find though that uninstalling and reinstalling would be easier if you were to use kpackage though. Much easier to use in my experience. You would first want to uninstall Apache using kapckage, and then locate the RPM on the install CD and reinstall the package. You could also try just reinstalling over top of the already existing package supressing the dependency warnings. If this is done you want to be sure to tell kapackage to "replace" all the files. This should bring Apache back to it's original state. -- Mark ~~~ ...someone once asked Annie Sullivan what she saw in a man she was considering as perspective suiter who had a terrible case of acne. Annie was reported to have replied, "His face is an easy read!" On Mon, 2 Oct 2000 9:24pm ,Philip Trauring spake passionately in a message: I've messed up my apache settings so that now it won't work. I have Mandrake 7.1. I mostly used webmin to make the changes and things were working fine, but now apache loads fine, but i can't access any web pages from any browser. Any suggestions for reverting the settings back to the original settings? How about how to uninstall apache? I assume I could reinstall using rpmdrake if I needed to, but I don't know how to uninstall apache. I'd prefer to fix the conf file, but I have not idea what's wrong. Is there a way to get the conf file back to the original default? Thanks, Philip Trauring
[newbie] Getting apache back to default?
I've messed up my apache settings so that now it won't work. I have Mandrake 7.1. I mostly used webmin to make the changes and things were working fine, but now apache loads fine, but i can't access any web pages from any browser. Any suggestions for reverting the settings back to the original settings? How about how to uninstall apache? I assume I could reinstall using rpmdrake if I needed to, but I don't know how to uninstall apache. I'd prefer to fix the conf file, but I have not idea what's wrong. Is there a way to get the conf file back to the original default? Thanks, Philip Trauring
[newbie] help apache new install
I just tried to upgrade Apache...using the rpm's on the rpmfind site. apache 1.3.12-14mdk and all its companion rpm's... I did have apache 1.3.12 from the last update... when I tried to upgrade this time,however... I get this: unsatisfied dependencies: mm=1.1.3 libmm.s0.11 where's the RPM...that will satisfy these dependencies located? -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit=
[newbie] Upgrading apache to new .12-10MDK
I just got a full apache server installed capable of working with php and what not, and I found a new rpm on rpmfind.net yesterday that was from Mandrake Software. Its the new apache-1.3.12-10MDK. I am wondering with my ssl_mod and php_mod already running and operational on my server with the .3.9-17MDK version...is it worth going to the new version of apache? I would like to hear some success stories or nightmare type thingsanyone anyone??? If you got it in successfuly...what were the steps you took to get it installed? If you dont feel like typing it all, is there a HOWTO doc that you followed or some great advice from a guru to get it going. Please let me know...very interested :) Kat
[newbie] php, apache, linux
How do I install php3.0 (apache server) on linux mandrake 6.1 __ Get Your Private, Free Email at http://www.hotmail.com
[newbie] Downgrading Apache 1.3 to Apache 1.2
Since I apparently took it in the shorts when I decided to blindly upgrade to 6.1, I would like to know if it is possible to revert back to Apache 1.2 since 1.3 makes all kinds of blanket changes that are vaguely mentioned in the docs. Can it be done? Thanks, Bryan