Questions tagged [apache-config]

Apache configuration is text based configuration file (or set of files) which are used to configure apache httpd web server

264 questions
24
votes
1 answer

.htaccess : Location not allowed here

I am getting a "Location not allowed here" error with this .htaccess. Does anyone have any idea on how I should fix this? AuthName NTLM AuthType NTLM NTLMAuth on NTLMAuthoritative on NTLMServer
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
24
votes
1 answer

How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

By default, Apache2 seems to allow only 1 connection per IP address. How do I configure Apache2 to allow multiple simultaneous connections from the same IP address? Here is my situation: a web app being hosted on a server. a remote client makes an…
David Jones
  • 2,139
  • 2
  • 19
  • 20
19
votes
5 answers

apache commons configuration loads property until "," character

I want to load configuration (apache commons configuration) from a properties file. My program is: PropertiesConfiguration pc = new PropertiesConfiguration("my.properties"); System.out.println(pc.getString("myValue")); In my.properties I have …
Tyler
  • 213
  • 1
  • 2
  • 5
14
votes
5 answers

What is the mac equivalent of "/etc/apache2/sites-available"?

I am installing Koha from source. Generic unix directions indicate the following step after sudo make install sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha huh? My apache2 directory contains no sites-available,…
John Breedlove
  • 405
  • 1
  • 4
  • 14
13
votes
3 answers

Completely hide server name apache

I have added these 2 lines in my etc/apache2.conf file, and it hid the OS and apache version. ServerSignature Off ServerTokens Prod But after all I can see the header with server name Server Apache How to hide this information as well ? I am…
dav
  • 8,931
  • 15
  • 76
  • 140
12
votes
1 answer

How to "reload" just one vhost file

I have a question about apache configuration. Please help me! My server run multi virtual hosts (multi domains). But, every time I edit a vhost file, I have to restart apache, and, server have to reload all configuration files. That is expensive.…
thanhpt
  • 531
  • 1
  • 5
  • 7
12
votes
5 answers

Any python libs for parsing apache config files?

Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)? As i'll be able to rewrite them in python.
daniels
  • 18,416
  • 31
  • 103
  • 173
8
votes
3 answers

How to deploy Ruby on Rails application via cPanel on shared host?

I am in the process of learning Ruby on Rails and things have been going smoothly - up until I tried to deploy one of my test applications to my shared hosting account. I use Host Gator and was able to successfully create a new Ruby on Rails app via…
NightMICU
  • 9,000
  • 30
  • 89
  • 121
8
votes
7 answers

PHPIniDir broken under windows 7?

I had a server running on a Windows XP machine using Apache2 with PHP and MySQL. I've recently upgraded to Windows 7 and have been having trouble getting it to work. Apache works fine and PHP works, but I can't seem to get it to work with a php.ini…
giroy
  • 2,203
  • 6
  • 27
  • 38
8
votes
2 answers

Removal of the /var/www/icons alias from Apache config

I have a directory called /var/www/icons on my web server, which is also referenced as an alias in my Apache config as seen below: Alias /icons/ "/var/www/icons/" The directory contains a number of small PNGs and GIFs, which AFAIK are unused, along…
crmpicco
  • 16,605
  • 26
  • 134
  • 210
7
votes
2 answers

How to display SVG images on my site?

I have a website with SVG images, but I have a problem. My site is on an Apache server with my host. My images are displayed very well when my site was on my local server but now it is on my host images no longer appear. I controlled the url is…
Florent
  • 761
  • 1
  • 10
  • 24
6
votes
1 answer

Apache ErrorDocument with absolute path

I have a server with several virtual hosts. Now I want to set up the error documents for the whole server. I have located my error sites in /var/www/error/*, but with the ErrorDocument directive I am only able to set the error document relative to…
svenwltr
  • 17,002
  • 12
  • 56
  • 68
6
votes
3 answers

Regex - how to match everything except a particular pattern

I'm using Apache and I want to redirect all received request to the ssl virtual host. So I have the following line in the regular http virtual host: RedirectMatch (.*) https://www.mydomain.com$1 which basicaly replace $1 by everything. It works…
Alain
  • 63
  • 3
6
votes
1 answer

do i need an apache servername setup?

I'm no really sure if SO is the place to ask this question - let me know if not. I thought about superuser, but it didn't seem to fit into their faq specs much. Anyway - the question! Do i need to put in the ServerName value in my apache2.conf file…
bharal
  • 15,461
  • 36
  • 117
  • 195
1
2
3
17 18