How to insert a reference to a user in my entry?
IfModule trouble, 2.0.41-dev
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > IfModule trouble, 2.0.41-dev 24 September 2002 01:49:38

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

IfModule trouble, 2.0.41-dev

Andreas Hasenack 24 September 2002 01:49:38
 I'm trying to use the following in a file included by
apache-2.0.41-dev:

<Directory "/srv/www/default/h­tml/acid">
AllowOverride None
order deny,allow
Deny from all
Allow from 127.0.0.1
<IfModule php4_module.c>
php_flag engine on
php_value include_path '.:/srv/www/default­/html/acid/config'
</IfModule>
</Directory>

But the part inside the IfModules is being completely ignored. PHP is
being loaded, however. What is the module name I should use there?

I tried:
- mod_php4.c
- php4_module
- some other variations

Is this a problem with my PHP compilation/setup? Apache-1.3.x had an
"AddModule" directive which is gone now, is there something else?


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
I.T 23 September 2002 21:31:48 permanent link ]
 msg Montag, 23. September 2002 19:24 by Andreas Hasenack:>
But the part inside the IfModules is being completely ignored. PHP is> being loaded, however. What is the module name I should use there?

if php is loaded you may simply remove the ifModule directive
i.t
--
. ___
| | Irmund Thum
| |


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Andreas Hasenack 23 September 2002 21:51:01 permanent link ]
 Em Mon, Sep 23, 2002 at 08:31:48PM +0200, i.t escreveu:> msg Montag, 23. September 2002 19:24 by Andreas Hasenack:> >
But the part inside the IfModules is being completely ignored. PHP is> > being loaded, however. What is the module name I should use there?>
if php is loaded you may simply remove the ifModule directive

The point is that it's not necessarily always loaded, while this file gets included
all the time. So, if PHP is not loaded, those php directives are not
known and the server will not start.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Joshua Slive 23 September 2002 22:58:10 permanent link ]
 Andreas Hasenack wrote:> But the part inside the IfModules is being completely ignored. PHP is> being loaded, however. What is the module name I should use there?>
I tried:> - mod_php4.c> - php4_module> - some other variations>
Is this a problem with my PHP compilation/setup? Apache-1.3.x had an> "AddModule" directive which is gone now, is there something else?

What name do you use for the LoadModule line? Try replacing the .so
with .c and using the resulting name for <IfModule>.

What is the filename of the module that you compile to get the .so file?
Try using that.

Joshua.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Andreas Hasenack 24 September 2002 00:08:01 permanent link ]
 Em Mon, Sep 23, 2002 at 03:58:10PM -0400, Joshua Slive escreveu:> What name do you use for the LoadModule line? Try replacing the .so > with .c and using the resulting name for <IfModule>.

I'm using:
LoadModule php4_module modules/libphp4.so

And I already tried php4_module.c and libphp4.c, no go.
What is the filename of the module that you compile to get the .so file? > Try using that.

mod_php4.c

Also didn't work.

I tried with mod_ssl.c just to see if IfModules actually worked, and
it worked fine (when I load the SSL module, of course). Must be something
wrong with my php4 compilation, or one of the bugs that still remain in
php4 regarding apache2.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Joshua Slive 24 September 2002 00:31:50 permanent link ]
 Andreas Hasenack wrote:
What is the filename of the module that you compile to get the .so file? >> Try using that.>
mod_php4.c>
Also didn't work.>

Find the source file that contains the macro STANDARD20_MODULE_S­TUFF.
The name of that file is what must be used in the <IfModule> line.

My quick look through the php cvs says that "sapi_apache2.c" should
be the answer. I don't see any mod_php4.c at all, so I don't know where
you got that from.

You might want to bring this up with the PHP developers as a
documentation issue. It shouldn't really be necessary to go digging
through a bunch of source files in order to find this.

Joshua.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Andreas Hasenack 24 September 2002 01:36:44 permanent link ]
 Em Mon, Sep 23, 2002 at 05:31:50PM -0400, Joshua Slive escreveu:> My quick look through the php cvs says that "sapi_apache2.c" should> be the answer. I don't see any mod_php4.c at all, so I don't know where > you got that from.

google and the php.net site, in the user contributed docs part
http://www.php.net/­manual/en/install.li­nux.php. But that is probably
related to apache1 only.
You might want to bring this up with the PHP developers as a > documentation issue. It shouldn't really be necessary to go digging > through a bunch of source files in order to find this.

I agree.

Too bad sapi_apache2.c didn't work either... :(­
I guess I should file a bugreport with the php folks, thanks anyway.

I only emailed this list here because I didn't know where to get that name
from, now you said it (STANDARD20_MODULE_­STUFF), thanks.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Joshua Slive 24 September 2002 01:49:38 permanent link ]
 Andreas Hasenack wrote:
Too bad sapi_apache2.c didn't work either... :(­> I guess I should file a bugreport with the php folks, thanks anyway.

Well, you got me. I would double check that, since according to the
code, it should work.

Joshua.


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > IfModule trouble, 2.0.41-dev 24 September 2002 01:49:38

see also:
STOP Error Problem - Please help!
motherboard knacked?
Web Site to detail computer hardware
пройди тесты:
see also:
Mailing Lables
i want to display the session value in…
i am unable to install websphere in my…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .