Questions tagged [httpd.conf]

The main configuration file of Apache HTTP Server is usually called httpd.conf

The main configuration file of Apache HTTP Server is usually called httpd.conf. The location of this file is set at compile-time but may be overridden with the -f command line flag.

2031 questions
0
votes
1 answer

Apache URL rewrite change file extension from .htm to .cfm

First let me apologize if this has been asked/answered before. I did a search and could not find what I was looking for. Some questions were close but just not enough. Again apologies for duplication. Second, my work has always been with IIS and…
0
votes
1 answer

Unable to run parallel apache httpd instances

I have created 2 conf files httpd.conf and httpd1.conf in my apache server. In order to run two instances of it. When I try to start both apache instance httpd -f /etc/httpd/conf/httpd1.conf -k start and httpd -f /etc/httpd/conf/httpd.conf -k…
Alok Verma
  • 53
  • 8
0
votes
1 answer

Redirect from root to Specific URI with HTTPD.conf

The first rule works fine when the maintenance file is in place. When it's not - the second rule is not redirecting to the specific URI. Is there an ordering issue of rules or ? ######################################### RewriteCond…
Configueroa
  • 315
  • 4
  • 14
0
votes
1 answer

Rewriterule not applied in Apache 2.4 httpd.conf

I would like to redirect via a RewriteRule (mod_rewrite) enabled in httpd.conf my URL:…
baron
  • 129
  • 1
  • 3
  • 16
0
votes
2 answers

Website w/SVN: Working Copy: Configuring Apache httpd.conf for local svn checkout - HOWTO?

I have worked with SVN, and with Apache but not together. My customer has a live site at one address, and an SVN repository on another machine at another address. I have checked out the whole 9 yards to a directory on my local (Windows XP) machine…
confused
  • 31
  • 1
  • 4
0
votes
1 answer

Converting mod_rewrite rules in .htaccess to httpd.conf

I have a set of html files at: www.example.com and the "main site" (in beta) at: www.example.com/abcd/ (for which these mod_rewrite rules are needed) The mod_rewrite rules run fine in a directory within .htaccess. I need to put them in…
siliconpi
  • 8,105
  • 18
  • 69
  • 107
0
votes
1 answer

$_SERVER['DOCUMENT_ROOT'] does not return the expected directory location

I accessed the sub-folder of my website and got this error: PHP Warning: include_once(): Failed opening '/var/www/html//include/version.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /srv/sparrow/php/include/branches.inc on…
Michael
  • 177
  • 1
  • 2
  • 12
0
votes
0 answers

mod_evasive not getting updated on centos7

I am trying to integrate mod_evasive with httpd on centos7. Module is installed and getting loaded by httpd upon restart. However, it is not picking up the parameters specified in /etc/httpd/conf.d/mod_evasive.conf file as specified…
Yogesh Jilhawar
  • 5,605
  • 8
  • 44
  • 59
0
votes
0 answers

Apache 2.2 - You don't have permission to access site on this server

Hello I am using Server version: Apache/2.2.22 running Ubuntu 12.04.5 . I had my website on another server which was running correctly with 750 permissions to whole folder. When I moved to the new server : I created the virtual host and I turned it…
ihavename
  • 25
  • 7
0
votes
4 answers

Apache: Virtual Host and URL Rewriting inside httpd.conf for Kohana Framework

I'm using the Kohana Framework 3.x. My Webserver is Apache and I use Virtual Hosts, because I manage more than one websites with my Server. My httpd.conf looks like this: ServerName www.myPage1.com ServerAlias myPage1.com …
Pascal Klein
  • 23,665
  • 24
  • 82
  • 119
0
votes
0 answers

Chrome pops up User/password box twice - httpd - Kerberos

we have a app runnng on Httpd and kerberos authentication. Whenever we want to logon the app from chrome, the user/password dialog box pop up twice always,irrespective of correct or incorrect login info. >
user5421298
  • 33
  • 1
  • 8
0
votes
2 answers

Charset changes after uploading a file in a Java environment under Apache HTTP

I have a project running in a standalone WildFly that is working fine locally under Eclipse, but the same project running on WildFly in a remote server under Apache HTTP is getting special characters corrupted after submitting a file. For…
Renan Baggio
  • 411
  • 1
  • 4
  • 11
0
votes
0 answers

Wont restart httpd

Please assist, when trying to restart apache I get a failed message. Why is the webserver crashing? ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active:…
0
votes
1 answer

I can't change xampp apache default port number

I changed the httpd.conf file lines: Listen 80 TO Listen 8012 servername localhost TO servername localhost:8012 And still it trys to start apache at port 80, but can't because a system process is using it. EDIT No my question is still different…
coderg
  • 85
  • 2
  • 8
0
votes
1 answer

httpd port change, changes permissions

I have a strange problem but it hopefully has a logical answer. Using - Server version: Apache/2.4.18 (Unix) in Archlinux 4.4.44-1-ARCH I have a web page directory that I want to restrict access to *.ini files. The directive in httpd.conf is: