Re: [PHP] Apache Default File Include

2002-04-04 Thread Dan Tappin
Thanks... That is exactly what I was looking for. Dan go to the PHP online documentation and look in the configuration section. auto_append_file string Specifies the name of a file that is automatically parsed after the main file. The file is included as if it was called with the

Re: [PHP] APACHE + SSL + PHP

2002-03-31 Thread Tyler Longren
This isn't a correct apache configure flag: -enablemodule-ssl/so I suggest you use this howto: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html It gives you step by step examples on how to do exactly what you want to. Tyler Longren Captain Jack Communications [EMAIL

Re: [PHP] Apache

2002-03-21 Thread scott furt
Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure of a directory when there is no idex.html present g J -- PHP General Mailing

Re: [PHP] Apache

2002-03-21 Thread jtjohnston
Scott , I am. :) I'm looking at IndexIgnore but not sure if it's what I want? John Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure

Re: [PHP] Apache

2002-03-21 Thread jtjohnston
I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory / Options FollowSymLinks AllowOverride All /Directory J Scott Furt wrote: Errmm... i don't know any apache groups, but if you want to do what you ask, just read the

Re: [PHP] Apache

2002-03-21 Thread Jan Rademaker
On Thu, 21 Mar 2002, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) I believe it was something like the NoIndex option, but I'm not sure... Directory / Options FollowSymLinks AllowOverride All /Directory J

Re: [PHP] Apache

2002-03-21 Thread heinisch
At 21.03.2002 03:18, you wrote: Errmm... i don't know any apache groups, but if you want to do what you ask, just read the documentation, it's easy :-) jtjohnston wrote: Anyone know of a good apache group? I want to hide the structure of a directory when there is no idex.html present g J

Re: [PHP] Apache

2002-03-21 Thread Matt Williams
On Thursday 21 March 2002 08:28, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory /     Options FollowSymLinks     AllowOverride All /Directory J Options -Indexes matt -- PHP General Mailing List

Re: [PHP] Apache

2002-03-21 Thread Erik Price
Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. Erik On Thursday, March 21, 2002, at 03:28 AM, jtjohnston wrote: I'm also looking at this in my .conf. I know putting something here is the answer, but what :) Directory

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. --

Re: [PHP] Apache

2002-03-21 Thread Mika Tuupola
On Fri, 22 Mar 2002, Jason Wong wrote: No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. Just add an empty index file? -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP General

Re: [PHP] Apache

2002-03-21 Thread Rasmus Lerdorf
So either turn off the DirectoryIndex or put an index.html in the dir. On Fri, 22 Mar 2002, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 01:38, Mika Tuupola wrote: On Fri, 22 Mar 2002, Jason Wong wrote: No, he doesn't want apache to *list* files in that directory but still to be able to serve files *from* that directory. Just add an empty index file? But that's a kludge. Anyway someone has

Re: [PHP] Apache

2002-03-21 Thread Erik Price
On Thursday, March 21, 2002, at 12:22 PM, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't want apache to *list* files in that directory but

Re: [PHP] Apache

2002-03-21 Thread Jason Wong
On Friday 22 March 2002 01:39, Erik Price wrote: On Thursday, March 21, 2002, at 12:22 PM, Jason Wong wrote: On Friday 22 March 2002 00:54, Erik Price wrote: Isn't it just a matter of setting the permissions? apache can't have read access to this directory, that's all. No, he doesn't

Re: [PHP] Apache

2002-03-21 Thread jtjohnston
Thanks all :) I went with: http://httpd.apache.org/docs/mod/core.html#options Directory /your/absolute/path/dir /Directory and not put Indexes between. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache, php user names

2002-03-19 Thread heinisch
At 18.03.2002 17:28, you wrote: Even if I think you´ll not be able (should not be able) to put files elswehere than /home/~myname: On a shared hosting provider, I have an account like: /home/~myname/www/ and /home/~myname/resources/ As far as I know, apache can only access what's in the www

Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread Rasmus Lerdorf
The PHP one supports that if your OS does. On Thu, 14 Mar 2002, David Ford wrote: Does anyone have a crypt() function that can use the $apr1$ prefixed salt that apache's htpasswd uses? David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread David Ford
On the same box, php is generating $1$ md5 hashes properly, two char and $apr1$ hashes as DES. The htpassword is generating $apr1$ hashes. Where is the gadget that needs fixed? David Rasmus Lerdorf wrote: The PHP one supports that if your OS does. On Thu, 14 Mar 2002, David Ford wrote:

Re: [PHP] apache md5 vs. php md5

2002-03-14 Thread Rasmus Lerdorf
Ah, PHP doesn't understand $apr1$ to be an md5 salt. Not quite sure why Apache's htpasswd uses that salt instead of the standard $1$ On Thu, 14 Mar 2002, David Ford wrote: On the same box, php is generating $1$ md5 hashes properly, two char and $apr1$ hashes as DES. The htpassword is

Re: [PHP] apache and php installation problem

2002-03-10 Thread Chris Hewitt
Duncan, Just a thought, does the user that apache is running as have permissions to read/execute the file? Regards Chris Duncan wrote: Hi, i currently installed latest apache and php on my RH 7.2 system. However, i allways get the following error now: /usr/local/apache/bin/apachectl

Re: [PHP] Apache PHPMyAdmin

2002-03-03 Thread Greg Donald
On Sun, 3 Mar 2002, jtjohnston wrote: No one seems to be home at my favourite apache newsgroup :) so I'll ask here I'm trying to reconfigure my PHPMyAdmin What do I add to my conf file so as in http://phpmyadminsomeherecom/ points to a specific directory on my (windows) drive? For example, how

Re: [PHP] Apache Server Side Includes mixed with PHP pages

2002-02-28 Thread Joel Boonstra
Thanks Martin - that does work. I was just thinking in ASP terms. But I am curious as to whether Server Side Includes can work together with php. Nope, at least not with Apache = 2.0. Apache 2 will let you have multi-pass parsing, so your PHP could output SSI, which would then be parsed.

RE: [PHP] Apache Server Side Includes mixed with PHP pages

2002-02-27 Thread Martin Towell
why don't you just do this? ?php include includes/header.html; echo Hello; include includes/footer.html; ? -Original Message- From: Richie Chauhan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 6:40 AM To: [EMAIL PROTECTED] Subject: [PHP] Apache Server Side Includes

Re: [PHP] Apache Server Side Includes mixed with PHP pages

2002-02-27 Thread Richie Chauhan
Thanks Martin - that does work. I was just thinking in ASP terms. But I am curious as to whether Server Side Includes can work together with php. Richie Martin Towell [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... why don't you just do this? ?php include

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread Chris Hewitt
Kevin, I'm posting this to the list as a private email to you was returned with a 550 Access denied error. Without a filename extension, apache assumes it is whatever DefaultType (in httpd.conf) is set to. Usually this is text/plain. In one (Oracle) application I've had to set this to

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
I'm posting this to the list as a private email to you was returned with a 550 Access denied error. Surely open systems means 'open' - in the support community as well as other aspects!? Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread Chris Hewitt
DL Neil wrote: Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list (presumably with similar questions/learning need), nor do they end up in any archive. I did not feel the particular question added to the sum total of information so replied

Re: [PHP] Apache is not parsing my php...sometimes...

2002-02-26 Thread DL Neil
Echoing/amplifying Torben's comment earlier: Private replies do not benefit others on the list (presumably with similar questions/learning need), nor do they end up in any archive. I did not feel the particular question added to the sum total of information so replied privately. I take the

Re: [PHP] Apache 2.0.32 + PHP from CVS not working

2002-02-22 Thread Rasmus Lerdorf
From the list, the APR API is done. So there should be no further issues getting it to work.(As in, you should no longer have to jump through hoops every month or release, just to keep up with apr). Well, this is simply not true. Things are still changing. -Rasmus -- PHP General Mailing

Re: [PHP] Apache 2.0.32 + PHP from CVS not working

2002-02-21 Thread Rasmus Lerdorf
It won't work simply because Apache 2.0 is very much in a state of flux. The API's change constantly. We are many months away from any sort of stable Apache2+PHP system. Unless you are a developer and can help fix problems, you are much better off sticking with Apache 1.3.x and not bugging the

Re: [PHP] Apache+PHP+DSO: maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3

2002-02-19 Thread Erik Price
On Tuesday, February 19, 2002, at 06:18 AM, Erwin S R U B A R wrote: So, no libphp4.so on the system. Considering we have the products (in most cases the up-to-date versions) it must be some obvious problem - but I have no idea. Thanks for help in advance, I had the same exact

Re: [PHP] Apache+PHP+DSO: maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3

2002-02-19 Thread Tom Rogers
Hi Make sure you include at least one internal apache module as shared (i used mod_rewrite) otherwise apache doesn't include enough linker information in apxs. you will probably have to do make distclean and start again with configure Tom At 09:18 PM 2/19/02, Erwin S R U B A R wrote: Hi

RE: [PHP] Apache - Virtual Name

2002-02-15 Thread Rick Emery
edit /etc/httpd/conf/httpd.conf look for ServerName in Core directives. Change to something like: ServerName myserver Find VirtualHost section and locate a VirtualHost block. It should be commented out. Copy the lines between #VirtualHost #/VirtualHost and paste them. Remove # comment

Re: [PHP] APACHE .htaccess and PHP 403 errors

2002-02-10 Thread Bogdan Stancescu
Just a guess, but is it possible that you get 403 because of file permissions? Sorry if this is stupid, but I vaguely remember something similar related to file permissions, so I took the chance... :-) Bogdan Andre Bajew wrote: Hi, Anyone out there familiar with Apache's .htaccess running

RE: [PHP] Apache PHP File Disclosure Vuln

2002-01-28 Thread James Cox
Actually, as a note about this, we (i) did extensive testing to invoke the php.exe binary and apache in any way but using an action and virtual url, and found it didn't work. We have suitably amended the documentation for both the win32 installer, plus the manual, making it clearer that

RE: [PHP] apache authentication

2002-01-17 Thread Jon Haworth
SECURITY WARNING: This code uses a hard-coded user-name and password, which begs the question of where they would come from in the real world. You could collect them via a form, but then they will be sent to the PHP script as arguments and so the password will be visible in the URL box

RE: [PHP] apache authentication

2002-01-16 Thread Simon Ritchie
Aaron and I have discussed this offline. He has a PHP front-end running on one server which he is using to control access to pages on another server (the target). He wants the front-end code to collect and check the user's credentials, then request an appropriate URL from the target and relay

RE: [PHP] apache authentication

2002-01-14 Thread Simon Ritchie
Your question is not very clear, not to me anyway. Are you trying to write some PHP code that remembers a user name and password over several requests? If so, I can answer that. According to me, it's hard. The problem is that PHP (in fact Apache itself) doesn't remember any information

Re: [PHP] apache authentication

2002-01-14 Thread Miles Thompson
I'm trying to do a similar thing, although I'm running PHP as an Apache module. There's a directory I want to protect, containing PDf files, access to which will be constrained by .htaccess. Our users have already logged in through a custom login script. I could modify this script so that

Re: [PHP] Apache and /

2002-01-09 Thread Eugene Lee
On Wed, Jan 09, 2002 at 03:47:16PM -0800, Todd Cary wrote: : : I forgot the parameter to change in httpd.conf so when the trailing / : is left off, the index.html will be executed. Anyone know the : parameter? DirectoryIndex index.html index.htm -- Eugene Lee [EMAIL PROTECTED] --

Re: [PHP] Apache virtualhosts with different user

2002-01-08 Thread Rich Buggy
if I define 'user' in virtualhost section of apache's httpd.conf, then my cgi scripts will be running as 'user' if suexec has been set up correctly. It's okay. But how can I tell apache to run the whole virtualhost as 'user'? Including accessing html files, and especially php. In 1.3 you

Re: [PHP] Apache Error 500

2001-12-31 Thread Bogdan Stancescu
Out of curiosity, why would you ever need this kind of URL? And what would you expect Apache to do - issue a 404 error instead? Bogdan [EMAIL PROTECTED] wrote: if my url is like : test.php everything is ok, but when I use test.php/1, I get the Apache Internal 500 Error. -- PHP General

RE: [PHP] Apache Error 500

2001-12-31 Thread Andrew Hill
Patrick, It's likeley that one that one server PHP is installed as a GGI - unfortunatley the trick you want to use only work when PHP is installed as a module. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data

Re: [PHP] Apache restart env - i issues as concerns PHP

2001-12-06 Thread Rasmus Lerdorf
Hrm.. You seem to have worked out your issue yourself. Yes, Apache by default inherits the environment it is started from. Sometimes this is quite useful as some things need to be configured via environment variables. ie. Oracle. If you don't want any of your environment exposed, it is

Re: [PHP] Apache Php SSL

2001-12-03 Thread Brian Clark
* Chris Allen [EMAIL PROTECTED] [Dec 03. 2001 23:09]: When rebuilding Apache/Php/Modssl etc can I re-use my existing server key and server certificate ? Do I need to get a new certificate from Thawte/Verisign even if its for the same host? As long as the cert is still valid, it should work

Re: [PHP] Apache Php SSL

2001-12-03 Thread Chris Allen
Ya thanks...I needed to make sure what I was reading was *what* I was reading... Thanks Again, ccma As long as the cert is still valid, it should work just fine. You'll need to point your httpd.conf to the right (previous) certificates though. That is explained pretty nicely in the mod_ssl

Re: [PHP] Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Michael Hall
I haven't read the original message, so this is only a guess. --with-apxs2 Mick On Wed, 28 Nov 2001, Larz wrote: Is it possible to compile and make it work under linux without any changes? I mean is there a --with-apache2 or something? -- - Lars When mailing me, remember there

Re: [PHP] Apache 2.0.28

2001-11-17 Thread Tyler Longren
:51 AM Subject: Re: [PHP] Apache 2.0.28 The current php will work with apache 2.x use:--with-apxs2 when you configure php Jobarr wrote: I need a build of PHP that can be used as a module with Apache 2.0.28 beta. Anyone know where I could find one? thanks -Jobarr

Re: [PHP] Apache 2.0.28

2001-11-17 Thread Vincent Stoessel
The current php will work with apache 2.x use:--with-apxs2 when you configure php Jobarr wrote: I need a build of PHP that can be used as a module with Apache 2.0.28 beta. Anyone know where I could find one? thanks -Jobarr -- Vincent Stoessel [EMAIL PROTECTED] Java Linux

Re: [PHP] Apache 2.0.28

2001-11-17 Thread Jobarr
I read something saying that the API changed from 2.026 to 2.0.28 and when I tried using a Apache2 php module, it said it was not compatible with this version of Apache. -Jobarr Vincent Stoessel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The current php will

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
After I research security issue from the web, I had found apache .htaccess which can solve my problem. What my problem is that, can .htaccess perform like a database system which can store users loginID and password, and also set those users have a expired time each ?? If you want to

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread EnriGA
then, can .htaccess store the user expried date ? like Peter is not allowed to login after 2Feb 2001, Sam is expired after 11Nov 2002.. and also, is it possible to maintain the .htaccess automatically ? like I write a shell script and run it schedully to delete those expired entry ? Johan

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
then, can .htaccess store the user expried date ? like Peter is not allowed to login after 2Feb 2001, Sam is expired after 11Nov 2002.. Yes and no. You just have to make a change in the .htaccess file. and also, is it possible to maintain the .htaccess automatically ? like I write a

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread EnriGA
Thanks very much ! I think I've got the way ! ^_^ Johan Holst Nielsen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... then, can .htaccess store the user expried date ? like Peter is not allowed to login after 2Feb 2001, Sam is expired after 11Nov 2002..

Re: [PHP] apache + ftp!

2001-11-12 Thread Olexandr Vynnychenko
Hello Benjamin, Monday, November 12, 2001, 12:00:22 PM, you wrote: B hey group! B i have apache installed on an win2000 machine and now i need an good and B stable ftp server! which one does i take! B thank you, ben And what about W2k's built-in FTP server? Has someone used it? Is it so bad?

Re: [PHP] apache + ftp!

2001-11-12 Thread Daniel Masur
never had it runnin, but i didnt heard bout hacking g6ftp. Olexandr Vynnychenko [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello Benjamin, Monday, November 12, 2001, 12:00:22 PM, you wrote: B hey group! B i have apache installed on an win2000

Re: [PHP] Apache User Groups?

2001-11-10 Thread Chris Hobbs
http://www.apache.org/foundation/mailinglists.html Eric wrote: Does anyone know of a usergroup for Apache? I am having difficulties finding one and am having some troubles with Apache. Thanks Eric -- ___ ____ _ Chris Hobbs / \ \/

Re: [PHP] Apache Request Ids?

2001-10-23 Thread Christopher William Wesley
On Tue, 23 Oct 2001, Brian White wrote: process ID belongs to Apache. What I was wondering was there any kind of ID that was attached to a particular CGI request that I could access and use? Yes. Use the Apache module, mod_unique_id, and then in your environment, $UNIQUE_ID will be

Re: [PHP] Apache Request Ids?

2001-10-23 Thread Brian White
Neat! Unfortunately it looks like it designed simply to be able to generate unique ids - this isnt much use to me unless I have a way to query whether the request that generated the id is still active. Doesn't matter. At 09:11 23/10/2001 -0700, Christopher William Wesley wrote: On Tue, 23

Re: [PHP] Apache redirection by PHP

2001-09-11 Thread Tim
Look in the Apache manual at the section on mod_rewrite. - Tim On Tue, 2001-09-11 at 05:58, Andrew Perevodchik wrote: I have the DNS alias on my server for * (which means any name). So that any requests for http://anyname.my.host are recieved by one virtual server. I need to make apache

[PHP] Re: php apache server problem

2001-09-11 Thread Richard Lynch
What do you mean by an overloading of the server?... It's possible that your configuration of MySQL number of clients that can connect is lower than the number of httpd children that can live. At some point, you'll have requests asking for MySQL connections, but MySQL won't hand out any more...

Re: [PHP] Apache/PHP URL problem

2001-09-09 Thread Rasmus Lerdorf
This is standard PATH_INFO behaviour. I don't really see a DoS issue here. Use piped logs or something and teach your logging system not to log these if you have an issue with it. DoS from filling log files isn't something we can do much about. -Rasmus Just noticed a strange problem with

Re: [PHP] Apache alias to a specific .htm file

2001-08-17 Thread Jeffrey A Schoolcraft
if you have DirectoryIndex support you can specify what file it will use as an index page. for most unix type os's this seems to be index.php[ 3] index.htm[ l] for IIS it's default.asp or something Jeff In an ideal world I would like to be able to type http://localhost into my browser and

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
Do you have Macromedia Generator installed on your server? It's responsible for taking the .swt and generating the .swf output. - Tim On 15 Aug 2001 14:28:24 +0100, AJDIN BRANDIC wrote: Hi, I have RH6.2, php4, MySQL and want to generate graphs with flash. I have done a graph with Flash5

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread AJDIN BRANDIC
Hi, NO this is what i am trying to find out. where can i download it from (for RD6.2 and Aache 1.3.12). I have tried RH site but no joy. regards Ajdin On 15 Aug 2001, Tim wrote: Do you have Macromedia Generator installed on your server? It's responsible for taking the .swt and generating

RE: [PHP] apache,php,mysql,flash

2001-08-15 Thread Annand, Nigel
] Subject: Re: [PHP] apache,php,mysql,flash Hi, NO this is what i am trying to find out. where can i download it from (for RD6.2 and Aache 1.3.12). I have tried RH site but no joy. regards Ajdin On 15 Aug 2001, Tim wrote: Do you have Macromedia Generator installed on your server? It's

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
You have to buy Generator from Macromedia. It's not free. (in fact, it's pretty expensive :) There are some open/free alternatives out there, but there weren't direct replacements last time I evaluated them. There's also the ming extension for PHP which lets you generate a whole SWF movie at

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Kunal Jhunjhunwala
755 :) Kunal - Original Message - From: Jay Paulson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:26 PM Subject: [PHP] Apache virtual hosts php anyone know the permissions that need to be set on sub-directories of apache when you are using virtual hosts?

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Jay Paulson
address to reach it.. but it seems to me that the default virtual host should at least show up when i put in the ip address right? thanks... - Original Message - From: Kunal Jhunjhunwala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 10:59 AM Subject: Re: [PHP

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Kunal Jhunjhunwala
: Re: [PHP] Apache virtual hosts php cool.. now i have the permissions set correctly (which is a great thing! thanks).. but i still get the 403 error... hmm.. you think it has to do with the fact that i'm having to type in the ip address of the server? the dns hasn't been set up yet to point

Re: [PHP] Apache Directives

2001-08-09 Thread Christian Reiniger
On Wednesday 08 August 2001 00:00, Sean Cook wrote: I am trying to figure out a way to run an application such that regardless of the url I achieve the same results. This is similar to the way apache/mod_perl works ... example Location /login/ SetHandler perl-script

Re: [PHP] Apache Directives

2001-08-08 Thread Tom Carter
What you are looking for isn't a php function, but a module in apache called mod_rewrite..this is usually installed in most apaches, if not can be done easily. so in the stie .htaccess (or indeed in the master conf) you would do something like RewriteEngine On RewriteRule ^/login/[a-zA-z0-9]*

RE: [PHP] Apache

2001-08-03 Thread Angerer, Chad
add yourself to the apache group in the groups file. This will allow you to do a chmod for the group on the apaceh dir so you are able to write to it. chmod +775 I think you would want to do on the directory. C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Re: [PHP] Apache + Oracle + PHP on HPUX

2001-07-26 Thread infoz
I've got an HP-UX 10.20 and I would like to install Apache + Oracle + PHP. You have my deepest sympathies. :) I installed and maintained PHP3 PHP4 + Oracle + OpenSSL + Apache on a system like that for 2 years before we were finally able to retire it and move to a Solaris environment. The

RE: [PHP] Apache + Oracle + PHP on HPUX

2001-07-26 Thread Andrew Hill
Hi, You can use OpenLink ODBC drivers, and compile PHP/apache --with-iodbc as per the HOWTO at www.iodbc.org. The HOWTO is Linux-based, but the major different will be environment variables. During the install of OpenLink MT drivers a shell script will be automatically created (openlink.sh,

Re: [PHP] Apache/phpinfo

2001-07-24 Thread Tom Carter
create a file on one of your websites, say call it test.php and in it put the following ? phpinfo(); ? - Original Message - From: Tom Malone [EMAIL PROTECTED] To: PHP Users [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 8:14 PM Subject: [PHP] Apache/phpinfo How can you tell if your

RE: [PHP] Apache/phpinfo

2001-07-24 Thread Corin Rathbone
Run phpinfo() and if it is in CGI mode Server API, at the top, will say CGI or if in is mod_php Server API will say Apache. Corin Rathbone -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: 24 July 2001 20:15 To: PHP Users Subject: [PHP] Apache/phpinfo How can you

[PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Peter Clarke
Conor McTernan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey all, I've been using apache, php and mysql on win32 for a while now, and I have recently decided to move over to linux *yay*, so i got myself a copy of Suse 7.1 personal edition. i now have

Re: [PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Conor McTernan
Peter I think I have tohse lines i nmy httpd.conf. although they might read: AddType application/x-httpd-php4 .php AddType application/x-httpd-php-source .phps or something like that, i'll make sure to check it when I get back from work. I was going to install it as a DSO, but

Re: [PHP] apache not handling 404 errors for .php pages

2001-07-12 Thread DAve Goodrich
on 7/12/01 12:38 PM, scott [gts] at [EMAIL PROTECTED] wrote: I have custom 404 error handling setup on my linux apache box, however, there's a problem with files that have a PHP extension. it seems that apache itself does not check for the existence of the requested .php file and fires up

RE: [PHP] apache+php chroot

2001-07-02 Thread scott [gts]
using the full pathname of the uptime binary should work. although, there are issues on some servers that user 'nobody' (a common owner for apache) cannot get 'uptime' information... so even if you get uptime to work correctly, beware that it may return bogus data. -Original Message-

Re: [PHP] apache+php chroot

2001-07-01 Thread teo
Hi Ryan! On Sun, 01 Jul 2001, Ryan wrote: I have chrooted apache+php but am having simple problems like not being able to exec uptime. uptime has been moved to /usr/serv/apache/usr/bin/uptime.. Well anyways heres my lil php line im tring to get running ?php passthru ( uptime ); ? I get

Re: [PHP] apache+php chroot

2001-07-01 Thread billt
On Sun, Jul 01, 2001 at 07:44:19PM -0500, Ryan wrote: I have chrooted apache+php but am having simple problems like not being able to exec uptime. uptime has been moved to /usr/serv/apache/usr/bin/uptime.. Well anyways heres my lil php line im tring to get running ?php passthru ( uptime ); ?

RE: [PHP] apache and php ate up all my memory :-[

2001-06-22 Thread Chadwick, Russell
Can you post the information at the header of top like... CPU states: 0.4% user, 0.0% nice, 3.6% system, 0.0% interrupt, 96.1% idle Mem: 47M Active, 147M Inact, 36M Wired, 11M Cache, 35M Buf, 7328K Free Swap: 1024M Total, 144K Used, 1024M Free and also the output of ps waux | grep mysql

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread lenar
in your virtualhost definition use: php_value include_path new include path might be that instead of php_value you have to use php_admin_value, not sure. this is explained in Chapter 3. Configuration of php manual. lenar. Butler, Shaun [EMAIL PROTECTED] wrote in message

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread infoz
Yes, in httpd.conf, just add the appropriate line, i.e. php_value include_path blah in the section for each virtual host. - Tim http://www.phptemplates.org is there a way to set up a different include path per virtual host in the apache config or in the php.ini ? -- PHP General

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread DAve Goodrich
on 6/21/01 8:14 AM, Butler, Shaun at [EMAIL PROTECTED] wrote: is there a way to set up a different include path per virtual host in the apache config or in the php.ini ? so www.blahblah.com would have /www/libs as the include path and www.moomoo.com would have /www/moo -- Shaun

RE: [PHP] Apache config + PHP include paths

2001-06-21 Thread Aaron Bennett
Title: RE: [PHP] Apache config + PHP include paths Shaun, you can also define php_value (but NOT php_admin_value) lines in a .htaccess file rather than in your httpd.conf, assuming you gave (or were given) the appropriate AllowOverride parameters to use .htaccess... Unless you are running

Re: [PHP] apache and php ate up all my memory :-[

2001-06-20 Thread Andreas D. Landmark
At 19.06.2001 15:37, you wrote: Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own server ( my first one). now apache had eaten up all physical and virtual memory some httpd had allocated 45MB of RAM, memory ran out myqsl crashed... snipped

Re: [PHP] Apache/PHP4 Question

2001-06-19 Thread Rasmus Lerdorf
I have a Server Running Apache 1.3.14 and it has PHP4 running as a module. For our customers we require that they use .cgi for all of their scripts and so if a user wants to run a php4 script on our server they use www.blah.com/myphpfile.cgi with of course the first line being

Re: [PHP] Apache/PHP4 Question

2001-06-19 Thread tony . mccrory
Sounds like you could remove the mime type for php in httpd.conf : AddType application/x-httpd-php .php Tony -- Tony McCrory IT, Trinity Mirror group (Ireland) (028) 9068 0168 [EMAIL PROTECTED]

RE: [PHP] apache and php ate up all my memory :-[

2001-06-19 Thread scott [gts]
it could be a bunch of different reasons, ranging from software to hardware/OS errors how much total memory is in the machine?? -Original Message- From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]] Subject: [PHP] apache and php ate up all my memory :-[ Hi all Probably

RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-10 Thread Joseph Bannon
you need to recompile apache too, unless you want to run php as cgi, in which case you just leave out the --with-apache part Can I call PHP like normal if I don't install it with Apache? Also, is there any way of cheating this? Joseph -- PHP General Mailing List

Re: [PHP] Apache error when installing PHP 4.0.5

2001-05-10 Thread Christian Reiniger
On Thursday 10 May 2001 00:58, Mark Maggelet wrote: On Wed, 9 May 2001 15:49:51 -0500, Joseph Bannon ([EMAIL PROTECTED]) wrote: you need to point to the apache-source install ie: ./configure --with-apache=../apache-1.3.19 But what if I have apache already installed? I have a Cobalt Raq3

RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Joseph Bannon
you need to point to the apache-source install ie: ./configure --with-apache=../apache-1.3.19 But what if I have apache already installed? I have a Cobalt Raq3 with apache already installed. Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Mark Maggelet
On Wed, 9 May 2001 15:49:51 -0500, Joseph Bannon ([EMAIL PROTECTED]) wrote: you need to point to the apache-source install ie: ./configure --with-apache=../apache-1.3.19 But what if I have apache already installed? I have a Cobalt Raq3 with apache already installed. you need to recompile

Re: [PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only when using sessions

2001-05-05 Thread Rouvas Stathis
Goto SquirrelMail http://www.squirrelmail.org/ and search for the "Infamous IE with SSL bug" (their wording). If I remember correctly it has to do with IE not implementing correctly HTTP/1.1 protocol (so you have to switch to HTTP/1.0 whenever an IE browser hits you) and something about the cache

Re: [PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only when using sessions

2001-05-04 Thread Martín Marqués
On Sáb 05 May 2001 00:56, Bill Rausch wrote: Hi all, A customer has a problem. They've installed Merlin from Abriasoft. It is a pre-built Apache/PHP/SSL/MySQL/... package. Their problem is that they can't download files from my PHP application (which uses sessions) using IE 5.5 in Windows.

Re: [PHP] Apache/PHP4/SSL, downloads fail with IE 5.5 only whenusing sessions

2001-05-04 Thread Bill Rausch
At 9:11 AM -0700 5/4/01, Martín Marqués wrote: On Sáb 05 May 2001 00:56, Bill Rausch wrote: Hi all, A customer has a problem. They've installed Merlin from Abriasoft. It is a pre-built Apache/PHP/SSL/MySQL/... package. Their problem is that they can't download files from my PHP application

<    1   2   3   4   5   6   >