11, October 2008

Strange Apache 2.2 problem - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: Strange Apache 2.2 problem
« previous next »
Pages: [1] Print

Author Topic: Strange Apache 2.2 problem  (Read 828 times)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8116
41653 credits
Members referred : 3



« on: Dec 17, 2005, 01:27:47 AM »

I have a strange problem with Apache 2.2. I've just compiled it in a new Debian based server, and it does not recognize the ErrorDocument directive in htaccess.

I have used other directives and it seems that htaccess files work. Also I have seen the error logs, and it doen not find several files that I try to get in order to activate the ErrorDocument 404 directive.

Now if I use the directive <directory> in the virtual host configuration like :

Code:
  <Directory "/usr/local/apache2/htdocs/.........">
    ErrorDocument 404 /tmp.htm
  </Directory>

It will work. But If I use a php page instead of this it wont!

Can you please help me solve this?

Any help will be appreciated.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #1 on: Dec 17, 2005, 01:49:11 AM »

i have same exact problem with old version of apache and one I use on my server.. i couldnt figure a way around it except editing the apache config file like you have done, and that works fine.. also custom error scripts will work for 2nd and 3rd websites on same server

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8116
41653 credits
Members referred : 3



« Reply #2 on: Dec 17, 2005, 02:09:38 AM »


Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #3 on: Jan 04, 2006, 07:36:16 AM »

hmm, i will try this site after i update apache which i have been neglecting to do. that is of course, if i even have the same problem that you did

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=1013
Tags : php apache Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: Strange Apache 2.2 problem
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Oct 11, 2008, 08:42:03 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 36.905
Total Topics: 7.557
Total Members: 4.150
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: neli67

34 Guests, 3 Users online :

13 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.