Re: [PHP] apache problem......

2002-09-24 Thread Adam Williams

If you areusing IE you have to pu tin the http:// infront of it, its one
of those quirky IE only things.  Don't have to do that in
Mozilla/Netscape.

Adam

On Tue, 24 Sep 2002, Anil Garg wrote:

> hi
> in my httpd.conf i have added a virtual host as:
>
> 
> #  General setup for the virtual host
> DocumentRoot "/netvcr/www/niksun"
> ServerName  niksun.com
> #ServerAdmin [EMAIL PROTECTED]
> ErrorLog "|/usr/local/sbin/rotatelogs /var/log/httpd-error.log 172800 10"
> TransferLog "|/usr/local/sbin/rotatelogs /var/log/httpd-access.log 172800
> 10"
> 
>
> but now if  from browser i try to access "http:10.70.0.215:90" the things go
> fine...but if i dont type 'http' and just type "10.70.0.215:90" in the
> browser.i get the following error message:
>
> 
>   The page cannot be displayed
>   The page you are looking for might have been removed or had its name
> changed.
>
> --
>
>   Please try the following:
>
> a.. Open the s: home page, and then look for links to the
> information you want.
>
> b.. If you typed the page address in the Address bar, make sure that
> it is spelled correctly.
>
>
> --
> Can someone one tell me when this error comes.
>
> Thanx and regards
> anil
> p.s. php,query,
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall


""Dean Hall"" <[EMAIL PROTECTED]> wrote in message
99a9kk$hnp$[EMAIL PROTECTED]">news:99a9kk$hnp$[EMAIL PROTECTED]...
>
> ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
> 99a7rf$rer$[EMAIL PROTECTED]">news:99a7rf$rer$[EMAIL PROTECTED]...
> > At first find where is libmhash.so.2. Then edit your ld.so.conf.
> > Then run ldconfig.
>
> Well, this seems to have worked. I don't know why it didn't work when I
> tried doing it a few years ago

Oops, "months", not "years". :-)

Dean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall


""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
99a7rf$rer$[EMAIL PROTECTED]">news:99a7rf$rer$[EMAIL PROTECTED]...
> At first find where is libmhash.so.2. Then edit your ld.so.conf.
> Then run ldconfig.

Well, this seems to have worked. I don't know why it didn't work when I
tried doing it a few years ago -- and I really have no idea why /usr/lib and
/usr/local/lib were not already in ld.so.conf -- is this a RedHat thing? --
'cause those directories seem to be pretty standard for shared libraries.

Thanks for the help.
Dean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall

""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
99a7rf$rer$[EMAIL PROTECTED]">news:99a7rf$rer$[EMAIL PROTECTED]...
> At first find where is libmhash.so.2. Then edit your ld.so.conf.
> Then run ldconfig.

I'm trying this, and I'll get back to you on whether it works.

> Filename and command name may vary, I can't tell since you didn't
> mention your OS.

RedHat Linux.

> Alternatively, you can build into PHP if you have static lib. I prefer
this
> way for non standard libs to make sure web server starts up even
> w/o shared libs.

Okay, do you mean if PHP is compiled as a static module? It's compiled as a
DSO on my box, so this is not an option. I have other modules installed
statically and dynamically, and I'd rather not recompile Apache every time a
new php comes out.

Thanks much for your help. I may need more. :-) I've tried modifying
ld.so.conf on a previous install, and it didn't help.

Dean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Yasuo Ohgaki
At first find where is libmhash.so.2. Then edit your ld.so.conf.
Then run ldconfig.

Filename and command name may vary, I can't tell since you didn't
mention your OS.

Alternatively, you can build into PHP if you have static lib. I prefer this
way for non standard libs to make sure web server starts up even
w/o shared libs.

Regards,
--
Yasuo Ohgaki


""Dean Hall"" <[EMAIL PROTECTED]> wrote in message
99a2gd$b2v$[EMAIL PROTECTED]">news:99a2gd$b2v$[EMAIL PROTECTED]...
> (Sorry for the cross-post; I'd like to get this solved, as I haven't been
> able to find a solution for several months.)
>
> I have installed mhash and libmcrypt (and mcrypt, for that matter),
> configured php with both of the extensions, and compiled PHP (as a DSO), and
> apache gives the following error when I attempt to start it:
>
> Cannot load /usr/local/apache/libexec/libphp4.so into server: libmhash.so.2:
> cannot open shared object file: No such file or directory
>
> Here are the details:
>
> Webserver:
> - apache-1.3.19 compiled with
>   (- mm-1.1.3)
>   - mod_ssl-2.8.1-1.3.19 (compiled as a static module)
>
>
> PHP (DSO):
> - php-4.0.4pl1 compiled with extensions:
>   - libmcrypt-2.4.7
>   - mhash-0.8.9
>
> I installed mcrypt-2.2.6 as well, but I soon realized that the PHP
> documentation said I should install libmcrypt, not mcrypt. Interestingly,
> php never complained that libmcrypt was not installed during configure. I'm
> not a *nix guru, and I don't understand completely how the dynamic linking
> process works, but this seems wrong.
>
> Any thoughts? I'm pretty desperate here. :-) Otherwise I'll have to start
> using the openssl shell command.
>
> Dean Hall.
> Apt7.com Web Services
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] Apache Problem

2001-01-13 Thread Chris Hayes

> I was always using pws until recently when I got Apache for windows. =
> Unfortunately when apache gets to a php file it doesnt parse it, it =
> thinks its a file to download. I uncommented the php lines in the =
> http.conf file but still no use. Does anyone know how to fix this?

Make sure to get these lines in the right place in httpd.conf then RESTART 
Apache:

#with the scriptaliases:
scriptalias /php/ c:/php/
# where c:/php/ is your php directory! so this is a windows example!


#at AddType one or more of these:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml

/*I believe it can also be  
AddType application/x-httpd-php .php .php3 .phtml
*/


Action application/x-httpd-php "/php/php.exe"


#Optionally add index.php to the automatically opened files (opened when 
link lacks filename):

DirectoryIndex index.html index.php3 index.htm index.php 


hth,
Chris




--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --


 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]