Tagged Questions
0
votes
0answers
29 views
Files in my server can be accessed..only once at a time
I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file:
<filesMatch "\.(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header ...
0
votes
1answer
29 views
Getting gzip compression to work on my server (modules?)
I have copied the htaccess file from HTML5 Boilerplate into my httpd.conf file and restarted Apache, but for some reason, gzip compression is still not working:
I have tested to see if the modules ...
1
vote
2answers
58 views
Apache deny/allow in vhost config and in .htaccess, which takes priority
If I specify a Deny from xx.xx.xx.xx Directive in a <Directory /var/www/html/test-directory/></Directory> block in an Apache vhost configuration.
Then specify a different Deny from ...
2
votes
0answers
69 views
Apache2 Basic Auth: user@ip, user2@ip2 - Is this possible?
I am looking at running an external service for clients to use here in my office while clients are working remotely at their office.
Assumptions: Both my office IP and clients office IP are static.
...
2
votes
1answer
366 views
Apache deflate ignores javascript
I have set up deflate in my htaccess. Everything works fine, except for some reason javascript files are being ignored. I tried every possible combination of AddOutputFilterByType DEFLATE with ...
0
votes
1answer
652 views
Accessing directories outside of DocumentRoot
I've recently deployed a web application to my Linux Redhat server using Capistrano which creates the following directory structure in the site's document root:
/var/www/html/example.com/releases/*
...
2
votes
1answer
1k views
Why is the RewriteBase not working?
Here is what I am trying to do:
domain is thinkingmonkey.me
domain has 127.0.0.1 as IP addr
mod_alias is installed.
I have a conf file called directories.conf. In which I have all the ...
0
votes
2answers
78 views
mod_rewrite `Redirect` how?
I have 2 urls say thinkingmonkey.me and thinkingmonkey.com both have ip-address 127.0.0.1 (A.K.A localhost).
I want to redirect any requests to thinkingmonkey.com to thinkingmonkey.me.
...
0
votes
1answer
681 views
How to limit bandwidth in CentOS using htaccess and not httpd.conf?
I'm trying to limit bandwidth in centOS. I have tried using bw_module, cband_module and bandwidth_module, but all of those required to use the httpd.conf and must restart httpd!
I have to do this ...
0
votes
2answers
229 views
httpd.conf changes to allow www.mysite.com and www.mysite.com/mantis and phpmyadmin?
I've got a php application which I use to place in:
~/public_html/beta/
And mantis and phpmyadmin in:
~/public_html/mantis/
~/public_html/phpmyadmin/
The application used to be accessed as:
...
6
votes
3answers
3k views
Limit upload file size and redirect user to error page if limit exceeds
Is it possible to redirect user to file file too big page
when POST request size exceeds specified limit?
I am aware about max-request-size option, but it gives just static page that cannot be ...
2
votes
3answers
371 views
htaccess vrs httpd.conf?
Is it still true that you shouldn't use htaccess files if you can use httpd.conf?
The Apache site says "In general, you should never use .htaccess files unless you don't have access to the main ...
1
vote
1answer
273 views
Apache prefork.c and other settings
Intel C2D E7400
2048 MB DDR2 RAM
250 GB 7.200 RPM
Debian 5 - 32bit
This is my dedicated server. I'm using it to host a vBulletin forum. What would be the best prefork.c, worker.c and mpm_winnt.c ? ...
1
vote
2answers
3k views
apache multiviews, how to disable it
I have a OS X Snow Leropard Server running and I want to disable multivewis from Apache. I could add Options -MultiViews to each .htacces file I have, but I guess there must be a global option. ...
0
votes
1answer
202 views
How can I convert httpd.conf markup to .htaccess rules?
I'm installing doxWiki, and the webserver installation instructions assume root access to httpd.conf -- my provider, 1and1, only allows access to .htaccess
Below is the doxWiki httpd.conf sample
...
1
vote
0answers
33 views
Odd Behaviour with wildcard sub domain
I am trying to get wild card sub domains working on my project here and it does seem to be working but i have come across some very odd behaviour here, every time i try to visit any subdomain instead ...
0
votes
2answers
2k views
.htaccess file not being read on localhost
My live site reads the .htaccess fine. I got 404.php and mod_rewrite working fine there, but on my localhost... nothing.
PHPmyAdmin 3.1.5
PHP 5.2.9-2
Apache 2.2
My .htaccess is this:
...
0
votes
3answers
675 views
rewriterules +httpd.conf +.htaccess problem (urgent-site down)
I'm migrating one of my websites from dreamhost shared to dreamhost ps.
the files copied OK and DNS resolved to the new server. However trying to get a pagw brings error 403 access forbidden.
If I ...
2
votes
2answers
489 views
How to write these .htaccess rules in httpd.conf
I have two htaccess rules that I would like to move to httpd.conf because I hear that's better for performance. I tried just copy-pasting them into httpd.conf but it doesn't use the same syntax I ...
