The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.
0
votes
0answers
8 views
how to configure mod_bwlimited through htaccess
The mod_bwlimited module in htaccess apparently displays an error if bandwidth is exceeded.
Anyone know what options are available for configuring it through htaccess?
1
vote
1answer
22 views
How to enable compression in WAMP installed on Windows Server?
How to enable compression in WAMP running on Windows Server 2008?
I searched the net and I followed these steps given here: http://www.zigpress.com/2009/04/09/enabling-gzip-on-wamp/.
But after ...
0
votes
1answer
17 views
Getting really weird entries in Apache log from Baidu.com?
I was looking through my server logs today, and I noticed this: (it's all one row)
118.244.179.250 - - [16/Oct/2013:20:59:25 +0000] "GET ...
0
votes
0answers
11 views
Restricting URL w.r.t HTTP method and setting different authentication mechanism for each
I shall start with an example. I want to authenticate for POST requests only for http://path/to/logical/abc.xml . How do I put constraints like this as the paths are logical and location directive is ...
0
votes
2answers
31 views
Move site from one tld to another
If we want to move site from say xyz.com to xyz.org. What all things we need to do to make sure seo works fine.
I am doing something like:
Point both xyz.com and xyz.org to same IP where my site is ...
1
vote
1answer
57 views
Restricting post method and authentication to specifc URL paths in Apache .htaccess
I shall start with an example. I want to restrict to POST requests only for http://path/to/logical/abc.xml and restrict to GET only for http://path/to/logical/def.xml. How do I put constraints like ...
2
votes
1answer
35 views
Cannot load local resource
In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is :
...
0
votes
1answer
52 views
Password protecting dynamic URLs in Apache
I am handling many logical files request using the Apache server. To make the path simple I have used mod_rewrite in the httpd.conf.
Now I am planning to enforce authentication on these logical file ...
0
votes
0answers
30 views
Debian Apache Home Web Server behind Verizon Fios router [migrated]
I feel that I might have a port forwarding issue that prevents me from accessing my server. The other possibility is that my apache2.conf is incorrect.
I set up a virtual machine with Debian on it, ...
1
vote
1answer
45 views
How to set up a single IP blocklist for multiple sites hosted on the same account
When running multiple sites on the same hosting account, one might find that an attacker has attempted to breach one site. A webmaster may want to block the IP address from all sites hosted in the ...
1
vote
1answer
83 views
Write to an alias directory on Apache
How do I enable writing via PHP to an alias directory.
I have the following on my VirtualHost:
<VirtualHost *:80>
ServerName domain.com
ServerAlias m.domain.com
...etc
AliasMatch ...
1
vote
0answers
8 views
How can i embed a python script in my PHP-Apache-PostgreSQL site? [migrated]
I have a internet site built in PHP-Apache-PostgreSQL, i built myself a python script.
Now, i have to create a webpage where i embed my python script.
My question is: Which is the fastest and easy ...
1
vote
0answers
60 views
Require domain alias to show in browser address bar
Similar to question posted here (but not related to sub directories):
.htaccess redirect of domain name alias to main domain but must show up as the alias domain
I am trying to direct traffic from an ...
1
vote
0answers
22 views
How to customize apache mod_sec log output?
I have an apache server which uses mod_security configuration. Those logs are further analyzed and sent out to OSSEC server for intrusion detection and monitoring.
That OSSEC server then sends those ...
0
votes
1answer
38 views
Ditch cPanel / WHM in favour of manual seup
We currently use cPanel / WHM on a reseller account but are looking at getting a dedicated server. My first thought was to duplicate this set up on the dedicated box to allow us to quickly create new ...
0
votes
2answers
96 views
301 redirect all pages with a specific extension
I have a website that is not on ASP anymore, it's a Drupal 7 website now.
I need to use an .htaccess file to redirect with code 301 all pages with .asp extension to the 404 page or a specific URL.
...
1
vote
1answer
97 views
How do I make Apache stop logging “ ModSecurity: Access denied”?
I have Apache set up on a Linux server and have mod_security enabled. I have a few lines that look like:
SecRule REQUEST_URI "^/*admin" drop,phase:1
Because there is no /admin on my website, and I ...
0
votes
1answer
85 views
htaccess redirect pages that don't exist
I have a website that has a little over 100 members. Each member gets a replicated website, and by default the software we use sets up their replicated website at a url like:
domain.com/?username
...
0
votes
1answer
36 views
What are best SEO practices when deleting a webpage? What return code should I use? [duplicate]
On a live site, let's say there is a page that is really outdated with old information.
Is it ok to just delete it? Or do I have to setup an Apache redirect or do a 404 or something special for the ...
1
vote
1answer
57 views
Is there any way to debug redirection rules in.htaccess?
I have an .htaccess file with over 200 redirection rules. It seems some of them are conflicting each other.
Is there any way to find out which one is responsible of redirect on a particular request?
...
1
vote
1answer
239 views
.htaccess redirect of domain name alias to main domain but must show up as the alias domain
I have the following in a .htaccess file:
RewriteCond %{HTTP_HOST} ^www\.aliasdomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^aliasdomain\.com$
RewriteRule ^(.*)$ ...
1
vote
2answers
69 views
Serving proper 404/410 error codes on dynamic database driven site
a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
3
votes
2answers
115 views
Website hack resulting in auto redirect - where to start looking?
My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other users, the site works fine. I have looked in the index.php files and some ...
0
votes
0answers
12 views
Shorten the URL in apache2.conf [duplicate]
I've just started using apache and I'm trying to change the urls from www.test.com/dashboard.php/page1 to www.test.com/page1 in appache's config file. This has to be done for all URLs so I'm doing it ...
0
votes
2answers
111 views
Installing Google Sitemap Generator on Linux
I have a website with httpd (front end) and Apache tomcat (back end).
I'm trying to install Google Sitemap Generator and create sitemap for the website.
I followed the following link for ...
3
votes
2answers
97 views
Can I configure Apache's HTTP Authentication (.htpasswd) to require the name/password of a local user account?
I'd like to restrict access to a certain directory in my webroot to all users that belong to a specific group.
I know that I can create a .htpasswd file that specifies a user, or even several users, ...
1
vote
1answer
47 views
Sendmail encrypted
I manage a website running on Apache. It has public and private areas. When people apply for an account to access the protected portions of the site, they do a TLS/SSL protected POST containing their ...
0
votes
0answers
46 views
Internet Explorer 8, content negotiation and missing file extension
I'm using Apache to serve a webpage that contain some images. I have imags in both SVG and PNG format, and use content negotiation to serve the format that a client understands. As a result, the files ...
1
vote
0answers
102 views
Is my .htaccess rule creating an infinite loop?
Whenever I type a made up address that includes a directory index it removes it. The problem is when the the address includes a forbidden subdirectory. It reduces itself until it hits forbidden. How ...
0
votes
1answer
93 views
Apache returns 304, I want it to ignore anything from client and send the page
I am using Apache HTTPD 2.2 on Windows. mod_expires is commented out. Most other stuff are not changed from the defaults. gzip is on.
I made some changes to my .js files. My client gets one 304 ...