You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tom DSilva <to...@gmail.com> on 2005/08/24 17:39:31 UTC

[users@httpd] Authentication against Windows domain for Apache on Linux

Hello all,

We have a Windows file server with some shared folders. We have a web
server running Apache on Suse. We want to give access to the shared
folders via the web server only to the valid Windows users. We can not
use the normal authenication techniques commonly used in Apache like
basic, authentication, dbm, or LDAP.

I wanted to know if there is any way to authenticate users against a
Windows domain on Apache running in Linux? I couln't find any useful
information on Google. Can anyone point me the appropriate resources?

TIA,
Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Mads Rosendahl <ma...@twilight.dk>.
Hi Livi,

I am a bit confused, because the server is not supposed to show the code 
for matters of security.
PHP is parsed and the output is returned to the client. And if the code 
is on localhost (your pc?),
can't you just locate the folder in the filesystem? We need more info :)

Kind regards

Mads


Olivia Hardy wrote:

>I have checked everywhere I can think of to solve this problem on my own and
>have yet to find an answer that works.  So now I turn to you.  I'm using
>Dreamweaver to create PHP files for a new site I want to do.  My server is
>Apache with phptriad.  My problem is I can't get it to show the php code.
>All it wants to do is let me download it.  I have followed every tut I can
>find to get this working correctly and nothing seems to work.
>
>Thanks in advance for your advice.
>
>Livi
>________________________________________________
>Let's Help Terminally Ill Children Smile.
>www.pagesforchildren.com
>
>Staying Healthy the Natural Way
>www.naturalyhealthy.com
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Mads Rosendahl <ma...@twilight.dk>.
Hi again Olivia,

By default the line says:    error_reporting  =E_ALL & ~E_NOTICE   (all 
errors but NOT notices)
Did you remove " & ~E_NOTICE" and restarted apache? If you have php-code 
and nothing is
returned, this is the most common reason. An error that prevents 
anything from being written but
the error is not displayed for security reasons.

Mads


Olivia Hardy wrote:

>I want to thank you, but that wasn't it.  The line you asked about is in
>there.  I'll just check something else and see what I can do.
>
>Thank you very much for your time on this matter.  It is really appreciated.
>
>Livi
>________________________________________________
>Let's Help Terminally Ill Children Smile.
>www.pagesforchildren.com
>
>Staying Healthy the Natural Way
>www.naturalyhealthy.com
>----- Original Message -----
>From: "Mads Rosendahl" <ma...@twilight.dk>
>To: <us...@httpd.apache.org>
>Sent: Wednesday, August 24, 2005 6:39 PM
>Subject: Re: [users@httpd] Can't view PHP in localhost, please help!
>
>
>  
>
>>If php module is not installed, then the code will display amongst the
>>html because it won't be parsed. So you
>>should see the code in plain text on the page if php doesn't work.
>>
>>If you get nothing at all, then maybe there are errors in the script and
>>PHP-error-reporting-level prevents
>>you from seeing the error. When developing, make sure you have
>>"error_reporting  =E_ALL" in php.ini.
>>By default, Notices are not displayed and PHP-notices are regular errors
>>in my point of view, such as
>>undeclared variables. Try that first, make sure all errors/notices are
>>displayed.
>>
>>Olivia Hardy wrote:
>>
>>    
>>
>>>I'm getting the http://localhost/ I just can't get my php part of my
>>>      
>>>
>files
>  
>
>>>to show.  It will show the html part of the file but that's all.
>>>
>>>Livi
>>>________________________________________________
>>>Let's Help Terminally Ill Children Smile.
>>>www.pagesforchildren.com
>>>
>>>Staying Healthy the Natural Way
>>>www.naturalyhealthy.com
>>>----- Original Message -----
>>>From: "Nick Jones" <ni...@yahoo.com>
>>>To: <us...@httpd.apache.org>
>>>Sent: Wednesday, August 24, 2005 5:43 PM
>>>Subject: Re: [users@httpd] Can't view PHP in localhost, please help!
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>--- Olivia Hardy <oh...@charter.net> wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>I have checked everywhere I can think of to solve
>>>>>this problem on my own and
>>>>>have yet to find an answer that works.  So now I
>>>>>turn to you.  I'm using
>>>>>Dreamweaver to create PHP files for a new site I
>>>>>want to do.  My server is
>>>>>Apache with phptriad.  My problem is I can't get it
>>>>>to show the php code.
>>>>>All it wants to do is let me download it.  I have
>>>>>followed every tut I can
>>>>>find to get this working correctly and nothing seems
>>>>>to work.
>>>>>
>>>>>Thanks in advance for your advice.
>>>>>
>>>>>Livi
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>I haven't tried PHPTriad personally, but it sounds
>>>>like
>>>>Apache is configured wrong. Check your httpd.conf file
>>>>and make sure the following lines are in there
>>>>somewhere:
>>>>
>>>>AddModule phpN_module "c:/path/to/phpNapache2.dll"
>>>>(where N is your PHP version)
>>>>
>>>>AddType application/x-httpd-php .php
>>>>
>>>>Good luck!
>>>>-Nick
>>>>
>>>>
>>>>
>>>>____________________________________________________
>>>>Start your day with Yahoo! - make it your home page
>>>>http://www.yahoo.com/r/hs
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>The official User-To-User support forum of the Apache HTTP Server
>>>>        
>>>>
>Project.
>  
>
>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>>--
>>>>No virus found in this incoming message.
>>>>Checked by AVG Anti-Virus.
>>>>Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date:
>>>>        
>>>>
>8/23/2005
>  
>
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>The official User-To-User support forum of the Apache HTTP Server
>>>      
>>>
>Project.
>  
>
>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>--
>>No virus found in this incoming message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
I want to thank you, but that wasn't it.  The line you asked about is in
there.  I'll just check something else and see what I can do.

Thank you very much for your time on this matter.  It is really appreciated.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com
----- Original Message -----
From: "Mads Rosendahl" <ma...@twilight.dk>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 6:39 PM
Subject: Re: [users@httpd] Can't view PHP in localhost, please help!


> If php module is not installed, then the code will display amongst the
> html because it won't be parsed. So you
> should see the code in plain text on the page if php doesn't work.
>
> If you get nothing at all, then maybe there are errors in the script and
> PHP-error-reporting-level prevents
> you from seeing the error. When developing, make sure you have
> "error_reporting  =E_ALL" in php.ini.
> By default, Notices are not displayed and PHP-notices are regular errors
> in my point of view, such as
> undeclared variables. Try that first, make sure all errors/notices are
> displayed.
>
> Olivia Hardy wrote:
>
> >I'm getting the http://localhost/ I just can't get my php part of my
files
> >to show.  It will show the html part of the file but that's all.
> >
> >Livi
> >________________________________________________
> >Let's Help Terminally Ill Children Smile.
> >www.pagesforchildren.com
> >
> >Staying Healthy the Natural Way
> >www.naturalyhealthy.com
> >----- Original Message -----
> >From: "Nick Jones" <ni...@yahoo.com>
> >To: <us...@httpd.apache.org>
> >Sent: Wednesday, August 24, 2005 5:43 PM
> >Subject: Re: [users@httpd] Can't view PHP in localhost, please help!
> >
> >
> >
> >
> >>--- Olivia Hardy <oh...@charter.net> wrote:
> >>
> >>
> >>
> >>>I have checked everywhere I can think of to solve
> >>>this problem on my own and
> >>>have yet to find an answer that works.  So now I
> >>>turn to you.  I'm using
> >>>Dreamweaver to create PHP files for a new site I
> >>>want to do.  My server is
> >>>Apache with phptriad.  My problem is I can't get it
> >>>to show the php code.
> >>>All it wants to do is let me download it.  I have
> >>>followed every tut I can
> >>>find to get this working correctly and nothing seems
> >>>to work.
> >>>
> >>>Thanks in advance for your advice.
> >>>
> >>>Livi
> >>>
> >>>
> >>I haven't tried PHPTriad personally, but it sounds
> >>like
> >>Apache is configured wrong. Check your httpd.conf file
> >>and make sure the following lines are in there
> >>somewhere:
> >>
> >>AddModule phpN_module "c:/path/to/phpNapache2.dll"
> >>(where N is your PHP version)
> >>
> >>AddType application/x-httpd-php .php
> >>
> >>Good luck!
> >>-Nick
> >>
> >>
> >>
> >>____________________________________________________
> >>Start your day with Yahoo! - make it your home page
> >>http://www.yahoo.com/r/hs
> >>
> >>
> >>---------------------------------------------------------------------
> >>The official User-To-User support forum of the Apache HTTP Server
Project.
> >>See <URL:http://httpd.apache.org/userslist.html> for more info.
> >>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >>For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >>--
> >>No virus found in this incoming message.
> >>Checked by AVG Anti-Virus.
> >>Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date:
8/23/2005
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >The official User-To-User support forum of the Apache HTTP Server
Project.
> >See <URL:http://httpd.apache.org/userslist.html> for more info.
> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Mads Rosendahl <ma...@twilight.dk>.
If php module is not installed, then the code will display amongst the 
html because it won't be parsed. So you
should see the code in plain text on the page if php doesn't work.

If you get nothing at all, then maybe there are errors in the script and 
PHP-error-reporting-level prevents
you from seeing the error. When developing, make sure you have 
"error_reporting  =E_ALL" in php.ini.
By default, Notices are not displayed and PHP-notices are regular errors 
in my point of view, such as
undeclared variables. Try that first, make sure all errors/notices are 
displayed.

Olivia Hardy wrote:

>I'm getting the http://localhost/ I just can't get my php part of my files
>to show.  It will show the html part of the file but that's all.
>
>Livi
>________________________________________________
>Let's Help Terminally Ill Children Smile.
>www.pagesforchildren.com
>
>Staying Healthy the Natural Way
>www.naturalyhealthy.com
>----- Original Message -----
>From: "Nick Jones" <ni...@yahoo.com>
>To: <us...@httpd.apache.org>
>Sent: Wednesday, August 24, 2005 5:43 PM
>Subject: Re: [users@httpd] Can't view PHP in localhost, please help!
>
>
>  
>
>>--- Olivia Hardy <oh...@charter.net> wrote:
>>
>>    
>>
>>>I have checked everywhere I can think of to solve
>>>this problem on my own and
>>>have yet to find an answer that works.  So now I
>>>turn to you.  I'm using
>>>Dreamweaver to create PHP files for a new site I
>>>want to do.  My server is
>>>Apache with phptriad.  My problem is I can't get it
>>>to show the php code.
>>>All it wants to do is let me download it.  I have
>>>followed every tut I can
>>>find to get this working correctly and nothing seems
>>>to work.
>>>
>>>Thanks in advance for your advice.
>>>
>>>Livi
>>>      
>>>
>>I haven't tried PHPTriad personally, but it sounds
>>like
>>Apache is configured wrong. Check your httpd.conf file
>>and make sure the following lines are in there
>>somewhere:
>>
>>AddModule phpN_module "c:/path/to/phpNapache2.dll"
>>(where N is your PHP version)
>>
>>AddType application/x-httpd-php .php
>>
>>Good luck!
>>-Nick
>>
>>
>>
>>____________________________________________________
>>Start your day with Yahoo! - make it your home page
>>http://www.yahoo.com/r/hs
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>--
>>No virus found in this incoming message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
I have a hp using xp.  lol  I'm going to try something real quick and see
what happens.  If it works, I'll let you know.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com
----- Original Message -----
From: "Nick Jones" <ni...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 7:20 PM
Subject: Re: [users@httpd] Can't view PHP in localhost, please help!


>
>
> --- Nick Jones <ni...@yahoo.com> wrote:
>
> >
> >
> > --- Olivia Hardy <oh...@charter.net> wrote:
> >
> > > Nick, you're correct.  I don't have the php.ini
> > > file.  Thanks.  I'll see if
> > > I can locate it.
> >
> > You can simply copy it. If you did a default
> > phpTriad
> > install, it's in c:\apache\php. Just copy the
> > php.ini
> > in that directory to c:\windows, or if this is a
> > development machine, copy php.ini-dist to c:\windows
> > and then rename it to php.ini.
> >
> > HTH
> > -Nick
>
> Well I just realized that this PHP from phpTriad is
> using it's own supplied php.ini file, so I'm at a loss
> now. What version of phpTriad are you using? What type
> of computer is this on?
>
> Thanks
> -Nick
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
Thought I'd let you know that I found a way to get my php working.  I'm
using WAMP5.  I can now see all the errors that I'm making, which are many.
lol  Anyway, thank you for all your assistance.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com
----- Original Message -----
From: "Nick Jones" <ni...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 7:20 PM
Subject: Re: [users@httpd] Can't view PHP in localhost, please help!


>
>
> --- Nick Jones <ni...@yahoo.com> wrote:
>
> >
> >
> > --- Olivia Hardy <oh...@charter.net> wrote:
> >
> > > Nick, you're correct.  I don't have the php.ini
> > > file.  Thanks.  I'll see if
> > > I can locate it.
> >
> > You can simply copy it. If you did a default
> > phpTriad
> > install, it's in c:\apache\php. Just copy the
> > php.ini
> > in that directory to c:\windows, or if this is a
> > development machine, copy php.ini-dist to c:\windows
> > and then rename it to php.ini.
> >
> > HTH
> > -Nick
>
> Well I just realized that this PHP from phpTriad is
> using it's own supplied php.ini file, so I'm at a loss
> now. What version of phpTriad are you using? What type
> of computer is this on?
>
> Thanks
> -Nick
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Nick Jones <ni...@yahoo.com>.

--- Nick Jones <ni...@yahoo.com> wrote:

> 
> 
> --- Olivia Hardy <oh...@charter.net> wrote:
> 
> > Nick, you're correct.  I don't have the php.ini
> > file.  Thanks.  I'll see if
> > I can locate it.
> 
> You can simply copy it. If you did a default
> phpTriad
> install, it's in c:\apache\php. Just copy the
> php.ini
> in that directory to c:\windows, or if this is a
> development machine, copy php.ini-dist to c:\windows
> and then rename it to php.ini.
> 
> HTH
> -Nick

Well I just realized that this PHP from phpTriad is
using it's own supplied php.ini file, so I'm at a loss
now. What version of phpTriad are you using? What type
of computer is this on?

Thanks
-Nick


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Nick Jones <ni...@yahoo.com>.

--- Olivia Hardy <oh...@charter.net> wrote:

> Nick, you're correct.  I don't have the php.ini
> file.  Thanks.  I'll see if
> I can locate it.

You can simply copy it. If you did a default phpTriad
install, it's in c:\apache\php. Just copy the php.ini
in that directory to c:\windows, or if this is a
development machine, copy php.ini-dist to c:\windows
and then rename it to php.ini.

HTH
-Nick

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
Nick, you're correct.  I don't have the php.ini file.  Thanks.  I'll see if
I can locate it.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com
----- Original Message -----
From: "Nick Jones" <ni...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 6:49 PM
Subject: Re: [users@httpd] Can't view PHP in localhost, please help!


>
>
> --- Olivia Hardy <oh...@charter.net> wrote:
>
> > I'm getting the http://localhost/ I just can't get
> > my php part of my files
> > to show.  It will show the html part of the file but
> > that's all.
> >
> > Livi
>
> This definitely sounds like an apache configuration
> issue. I downloaded PHP Triad since my last message,
> and it works OK for me. It seems that PHP is installed
> as a CGI rather than a module in this apache install.
> Do you have a php.ini file in your windows directory
> (c:\Windows)? This could cause PHP to not run.
>
> -Nick
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Nick Jones <ni...@yahoo.com>.

--- Olivia Hardy <oh...@charter.net> wrote:

> I'm getting the http://localhost/ I just can't get
> my php part of my files
> to show.  It will show the html part of the file but
> that's all.
> 
> Livi

This definitely sounds like an apache configuration
issue. I downloaded PHP Triad since my last message,
and it works OK for me. It seems that PHP is installed
as a CGI rather than a module in this apache install.
Do you have a php.ini file in your windows directory
(c:\Windows)? This could cause PHP to not run.

-Nick


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
I'm getting the http://localhost/ I just can't get my php part of my files
to show.  It will show the html part of the file but that's all.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com
----- Original Message -----
From: "Nick Jones" <ni...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 5:43 PM
Subject: Re: [users@httpd] Can't view PHP in localhost, please help!


>
>
> --- Olivia Hardy <oh...@charter.net> wrote:
>
> > I have checked everywhere I can think of to solve
> > this problem on my own and
> > have yet to find an answer that works.  So now I
> > turn to you.  I'm using
> > Dreamweaver to create PHP files for a new site I
> > want to do.  My server is
> > Apache with phptriad.  My problem is I can't get it
> > to show the php code.
> > All it wants to do is let me download it.  I have
> > followed every tut I can
> > find to get this working correctly and nothing seems
> > to work.
> >
> > Thanks in advance for your advice.
> >
> > Livi
>
> I haven't tried PHPTriad personally, but it sounds
> like
> Apache is configured wrong. Check your httpd.conf file
> and make sure the following lines are in there
> somewhere:
>
> AddModule phpN_module "c:/path/to/phpNapache2.dll"
> (where N is your PHP version)
>
> AddType application/x-httpd-php .php
>
> Good luck!
> -Nick
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Mads Rosendahl <ma...@twilight.dk>.
I guess I misunderstood the "show the php code" part and took it 
litterally. Never mind
my previous reply!

Nick Jones wrote:

>--- Olivia Hardy <oh...@charter.net> wrote:
>
>  
>
>>I have checked everywhere I can think of to solve
>>this problem on my own and
>>have yet to find an answer that works.  So now I
>>turn to you.  I'm using
>>Dreamweaver to create PHP files for a new site I
>>want to do.  My server is
>>Apache with phptriad.  My problem is I can't get it
>>to show the php code.
>>All it wants to do is let me download it.  I have
>>followed every tut I can
>>find to get this working correctly and nothing seems
>>to work.
>>
>>Thanks in advance for your advice.
>>
>>Livi
>>    
>>
>
>I haven't tried PHPTriad personally, but it sounds
>like 
>Apache is configured wrong. Check your httpd.conf file
>and make sure the following lines are in there
>somewhere:
>
>AddModule phpN_module "c:/path/to/phpNapache2.dll"
>(where N is your PHP version)
>
>AddType application/x-httpd-php .php
>
>Good luck!
>-Nick
>
>
>		
>____________________________________________________
>Start your day with Yahoo! - make it your home page 
>http://www.yahoo.com/r/hs 
> 
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Can't view PHP in localhost, please help!

Posted by Nick Jones <ni...@yahoo.com>.

--- Olivia Hardy <oh...@charter.net> wrote:

> I have checked everywhere I can think of to solve
> this problem on my own and
> have yet to find an answer that works.  So now I
> turn to you.  I'm using
> Dreamweaver to create PHP files for a new site I
> want to do.  My server is
> Apache with phptriad.  My problem is I can't get it
> to show the php code.
> All it wants to do is let me download it.  I have
> followed every tut I can
> find to get this working correctly and nothing seems
> to work.
> 
> Thanks in advance for your advice.
> 
> Livi

I haven't tried PHPTriad personally, but it sounds
like 
Apache is configured wrong. Check your httpd.conf file
and make sure the following lines are in there
somewhere:

AddModule phpN_module "c:/path/to/phpNapache2.dll"
(where N is your PHP version)

AddType application/x-httpd-php .php

Good luck!
-Nick


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Can't view PHP in localhost, please help!

Posted by Olivia Hardy <oh...@charter.net>.
I have checked everywhere I can think of to solve this problem on my own and
have yet to find an answer that works.  So now I turn to you.  I'm using
Dreamweaver to create PHP files for a new site I want to do.  My server is
Apache with phptriad.  My problem is I can't get it to show the php code.
All it wants to do is let me download it.  I have followed every tut I can
find to get this working correctly and nothing seems to work.

Thanks in advance for your advice.

Livi
________________________________________________
Let's Help Terminally Ill Children Smile.
www.pagesforchildren.com

Staying Healthy the Natural Way
www.naturalyhealthy.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Authentication against Windows domain for Apache on Linux

Posted by Tom DSilva <to...@gmail.com>.
I'm sorry for the skip. I'm using Windows NT 4.0 Service Pack 6 +
Option Pack 4. Suse is v9.2 and Apache is the latest.

Thanks,
Tom


On 8/25/05, Sascha Kersken <sk...@lingoworld.de> wrote:
> Hi,
> 
> unfortunately, you didn't write what version of Windows Server you are
> using. If you are running Windows 2000 Server or Windows Server 2003 as an
> Active Directory domain controller, mod_auth_ldap works just fine.
> 
> Regards
> Sascha
> 
> ----- Original Message -----
> From: "Tom DSilva" <to...@gmail.com>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, August 24, 2005 5:39 PM
> Subject: [users@httpd] Authentication against Windows domain for Apache on
> Linux
> 
> 
> Hello all,
> 
> We have a Windows file server with some shared folders. We have a web
> server running Apache on Suse. We want to give access to the shared
> folders via the web server only to the valid Windows users. We can not
> use the normal authenication techniques commonly used in Apache like
> basic, authentication, dbm, or LDAP.
> 
> I wanted to know if there is any way to authenticate users against a
> Windows domain on Apache running in Linux? I couln't find any useful
> information on Google. Can anyone point me the appropriate resources?
> 
> TIA,
> Tom
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Authentication against Windows domain for Apache on Linux

Posted by Sascha Kersken <sk...@lingoworld.de>.
Hi,

unfortunately, you didn't write what version of Windows Server you are
using. If you are running Windows 2000 Server or Windows Server 2003 as an
Active Directory domain controller, mod_auth_ldap works just fine.

Regards
Sascha

----- Original Message ----- 
From: "Tom DSilva" <to...@gmail.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 24, 2005 5:39 PM
Subject: [users@httpd] Authentication against Windows domain for Apache on
Linux


Hello all,

We have a Windows file server with some shared folders. We have a web
server running Apache on Suse. We want to give access to the shared
folders via the web server only to the valid Windows users. We can not
use the normal authenication techniques commonly used in Apache like
basic, authentication, dbm, or LDAP.

I wanted to know if there is any way to authenticate users against a
Windows domain on Apache running in Linux? I couln't find any useful
information on Google. Can anyone point me the appropriate resources?

TIA,
Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org