Home > Apache Development
Apache Development
Apache Development forum discussing HTTP Server general topics, configuration, and modules. Apache is an open source web server that runs on multiple platforms.
Mod_python error
Dear all,
i tried to install mod_python on a windows machine which runs
apache server 2.2
Python 2.4
mod_python 3.3.1
ERROR:
i have some error with the python handler.
The error is as follows,
MOD_PYTHON ERROR
ProcessId: ...
answer(0) view(101) status(

)
[general] Adding Subdomains
How would i direct a subdomain to a given location, after i have enabled wildcard DNS?
I am running apache 2.2.6 on a Windows Platform.
answer(12) view(288) status(

)
Page loads fine, but 500 Internal Server Error in headers.
Dedicated Server
Fedora Core 7
PHP 5.2.4 (Zend: 2.2.0)
Apache 2.2.6
MySQL 5.0.45
We run multiple OSCommerce websites on our server. We recently had a hard drive crash and were forced to move or websites to the server listed above. ...
answer(2) view(983) status(

)
[general] Identifying DoS attacks
I know I've asked this in the DNS section, however is it possible for apache to be DoS'ed seperatley, or does a DoS reffer to the whole system, no matter whats running on it?
Also, on a windows Platform, how would you be able to identify...
answer(2) view(102) status(

)
Refresh
I'm not sure if my problem has anything to do with Apache, however here it goes:
When visitors are viewing my website and, lets say, i change a setting, they cannot view it until they fefresh the apge. By this i mean, that even if they r...
answer(4) view(964) status(

)
Mod_mime_magic - how to disable in HTACCESS?
Hi guys,
my webhost has this module "mod_mime_mgic" installed on Apache, and its quiet annoying. It has littered the error_logs with "Permission Denied on...*****.cgi" . From what ive read it checks the mime type of f...
answer(3) view(304) status(

)
[general] Setting up a virtual hosts - Please help!
I am trying to set a few virtual hosts. I am running wampserver v2 which runs Apache 2.2.6, PHP 5.2.5 and MySQL 5.0.5. I am intending to set these for INTRANET use ONLY. I have setup DNS entries named: pomanager and helpdesk (A records)
...
answer(3) view(240) status(

)
Combine 2 physical directories into 1 URL-path
Okay, this may sound like an odd question. Then again, it seems like something people might find handy. But I've never heard of it being used, so...
I would like to combine 2 directories on my site, so that one URL accesses them. The ...
answer(5) view(336) status(

)
How difficult would it be to write a cron job...
Hi guys.
How difficult would it be to write a cron job that accesses a single link via a different IP ever 30 seconds and how do you run cron job scripts?
(I'm on OS X right now and have never written a cron job before)
Cheers! ...
answer(3) view(729) status(

)
Build mod_jk.so
I need to build mod_jk.so for apache.
Im using apache 1.3.9 and windows xp.
How do I build mod_jk? ( without using msdev.exe because I don't have that and can't find it free anywhere)
"
The error I get at the moment with the cu...
answer(0) view(571) status(

)
[general] How do I share files between vhosts?
Hi,
I am using a root server on 1&1 webhosts, and each domain name is created as a vhost, with each having its own directory structure, so the web files are in httpdocs.
I want to be able to allow each vhost to access the same sha...
answer(2) view(44) status(

)
[L] doesn't seem to work, on the verge of crying
I have been reading guides, and forums posts for days, and now think I have pulled out all my hair, trying to get some relatively simple rewrite rules to work.
The following block of code is in my .htaccess file in the web directory, and...
answer(1) view(497) status(

)
[mod_rewrite] Rewrite rul for passing 2 folder names
Hi,
Im struggling with a rewrite rule. Heres what im looking to do:
www.mydomain.com/foo/myFolder/bar => /test.php?foo=xxx&bar=xxx
Note:"myFolder" name is static will not change however foo and bar will.
So cur...
answer(1) view(613) status(

)
Problem Installing PHP5 with Apache 2.2.2
I'm trying to install PHP5 as a module on Apache 2.2.2 on WindowsXP. However, when I follow the instructions in the install.txt file and configure my httpd.conf file the way it says I am supposed to, I get an error that says Apache can not...
answer(5) view(374) status(

)
General Question
a friend of mine has been working on the following:
Code:
Code Changed, See Below
This is to go in a .htacces file. I was just wondering if the above requires mod rewrite?
answer(17) view(418) status(

)
[mod_rewrite] Mod_Rewrite does not work
Hello, I'm on Fedora Core 8 with apache 2.2.6.
The loadmodule for mod_rewrite in httpd.conf is uncommeneted and phpinfo() tells me that mod_rewrite was loaded.
However, mod_rewrite doesn't work at all.
I tried a few of my own regex's, th...
answer(11) view(273) status(

)
answer(5) view(617) status(

)
Rewriting Variables
I'm trying to rewrite domain.com/index.php?section=whatever and domain.com/index.php?section=whatever&page=whatever and I'm running into a snafu.
Here's my htaccess:
Code:
Code:
Order deny,allow
RewriteEngine on
R...
answer(4) view(740) status(

)
answer(6) view(975) status(

)
[general] Apache httpd.conf
Hi,
I have jus complete the setup of my apache server. It is running fine except that
when i type the URL without a trailing slash. The URL return become http://abc.com:8500/test/
However, when i type the URL with the trailing sla...
answer(1) view(179) status(

)
answer(3) view(214) status(

)
Invisible redirection
Hello,
I'm trying this:
any-user.mysite.com/any-page -> mysite.com/script.php?user=any-user&page=any-page
I got wildcards enabled and this is what i have by now:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{EN...
answer(1) view(672) status(

)
Question about httpd conf
Hi! I need to install apache and was told that PHPIniDir needs to be set. I downloaded apache_2.2.6-win32-x86-no_ssl.msi. However when I install apache, the httpd conf is different from what I was given as a sample and what I see as example...
answer(8) view(815) status(

)
[general] Strange HTTP_USER_AGENT content
I was not sure whether to post this in PHP forum or here, so took a guess at here.
I'm working on a PHP script to detect Bots visiting sites using a script that I write addons for, and as part of the processes I draw on the data in the H...
answer(2) view(432) status(

)
Hardware, Database, Business Intelligence
Hello all. We are just starting up an IT Services Consulting company, we are currently 3 people, our current skills are Oracle DBA & MYSQL, and somewhat SQL Server, and we will like to learn from your experience. First is regarding th...
answer(0) view(469) status(

)
[mod_rewrite] Forcing .html through mod_rewrite
Hey everyone,
I've been running a site for about 5 years now, and suddenly our google traffic all but disappeared. We realized that google was indexing duplicate versions of our page!
Basically I want to force certain urls, no matter ...
answer(2) view(604) status(

)
Time out on 1 MB upload
I'm having problem on new VPS with uploading files from script.
Both Perl and PHP scripts gets interrupted after about 30 seconds with browser message "The connection to the server was reset while the page was loading."
Timeou...
answer(4) view(81) status(

)
Unable to redirect on a reverse proxy.
I have an Apache 2.2.4 instance on our company firewall, and it's sole job is to act as a reverse proxy for our websites.
I am trying to accomplish something today that I have never had to do. I want to add a Redirect, but Apache seems ...
answer(1) view(275) status(

)
[general] Proxy to a https server
Hi to all,
Does anyone knows how to use proxy to a https server?
some illustartion:
www->https->myserver->https->appserver
I could do a https on myserver and also https on the appserver from myserver
If I proxy http...
answer(1) view(98) status(

)
Configuring Apache to only use localhost.
Hello,
Today i installed XAMPP (the windows installer) onto my laptop running Windows Vista. The contract with the ISP states that you are not allowed to run a website off your computer and receive connections like that. I would like to ...
answer(7) view(800) status(

)