The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
59 views

httpd 2.4 returning forbidden message when using alias

As a part of displaying a live log file, I managed to setup and deploy an httpd server on fedora 19. For accessing the log files that are outside the www folder, I created aliases, so that when test ...
3
votes
1answer
104 views

Apache will not start, no httpd error messages

I am trying to start the httpd service on RHEL 7. When I run systemctl start httpd, it fails. Here is the output of journalctl -xe. There are no apparent error message for httpd, Would the errors ...
4
votes
2answers
887 views

How do I stop httpd running under Mac OS X (10.11) El Capitan Server?

I am using OS X El Capitan with the Server (app) configured to allow me VPN access to my home network. Unfortunately, the Server app has decided to start a bunch of httpd processes, which are now ...
1
vote
0answers
14 views

service httpd status output?

On a Linux web server running httpd service, the below is what you get from issuing the following command: service httpd status Is anyone intimately familiar with these states? __C__W_KW__W....K._K....
1
vote
0answers
24 views

Trying to configure monit to use https protocol but it sticks with http

I'm trying to monitor a VHost on the local Apache instance via Monit. The same domain accepts both http and https traffic, so I wanted to monitor both. Also, the IP that the domain resolves to goes ...
0
votes
1answer
1k views

/var/www/html permssions issue, group not able to edit

I'm having issues with permissions in /var/www/html and group permissions not working the way I thought they would. bash-4.1$ whoami barney bash-4.1$ id barney uid=507(barney) gid=511(barney) ...
3
votes
1answer
20k views

.htaccess 301 redirect with regular expressions

If I have: redirect 301 /users/foo http://www.example.com/profiles/foo redirect 301 /users/bar http://www.example.com/profiles/bar Can I do something like? redirect 301 ^\/users/(.+)$ http://www....
0
votes
1answer
43 views

How to stop all process of specific apache?

I use CentOS and have running multiple instances of httpd, example: /usr/sbin/httpd /opt/zimbra/httpd/bin/httpd But need kill all process only /usr/sbin/httpd killall -9 -v httpd Kill all httpd ...
22
votes
4answers
18k views

Why does the system have /etc/sudoers.d? How should I edit it?

Last time, I asked about the risk of these (in /etc/sudoers): user_name ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf %group_name ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf ...
2
votes
2answers
448 views

split httpd in smaller files

Hi I need to extract each VirtualHosts from my httpd.conf to separate files for easier management. Original httpd.conf . .. <VirtualHost *:XXXX> SuexecUserGroup user1 groupX ... </...
2
votes
1answer
59 views

WAMP starts up (green) but doesnt fully restart (orange)

When I open the WAMP manager it goes to green and everything works. Then (also without doing anything else) when I click the icon and choose restart all services it goes to orange and stays orange. ...
7
votes
5answers
15k views

Apache problems after upgrading to Yosemite

My Mac web server won't work after upgrading to Yosemite. When I type apachectl into Terminal, I get this: httpd: Syntax error on line 527 of /private/etc/apache2/httpd.conf: Syntax error on line 8 ...
3
votes
3answers
6k views

In what order does Apache load conf files and which ones?

I'm looking at a CentOS 6.5 server with a webframework installed that has been added to over the years by many. There are what looks like 5 active .conf files in /conf, including httpd.conf. In ...
2
votes
2answers
2k views

How to hide the PHP file extension using WampServer and .htacess file?

I just installed WampServer on Windows7 and uncommented mod_rewrite and set AllowOverride to All in the httpd.config file. I created an .htacess file and placed it in the root folder with the ...
1
vote
0answers
159 views

Apache httpd-2.2.10 crosscompile to ARM

I'm trying to crosscompile Apache 2.2.10 to ARM architecture. I've exported CC, ARM variables. Also I've sucessfully crosscompiled openssl, apr, apr-util and pcre packets for target ARM architecture. ...
0
votes
0answers
89 views

Run Apache http, Apache tomcat and nodejs on same port

I'm a web developer and for a project I need to run tomcat and nodejs without using port. I've seen some posts about proxy module in httpd, so I've created two virtual hosts as follow : <...
3
votes
1answer
1k views

Mac OS X + Apache + Web Sharing

I'm running Mac OS X (Snow Leopard) and I'm trying to use Eclipse PDT and I'd like to use "Web Sharing" built-in feature that basically runs Apache. I'm doing code change in PDT and I want to use ...
0
votes
1answer
115 views

httpd mod_rewrite redirect

Is it possible to create a rule for mod_rewrite which forwards queries to another site while saving original path in address-string?
1
vote
1answer
100 views

Httpd start on access on port 80, how to stop it?

I have a Red Hat Enterprise Linux 6.5 with httpd, and each time I am accessing to the port 80 the service starts ! I would like to stop it without uninstalling apache, so far I tried : service httpd ...
0
votes
0answers
93 views

Setting up Apache httpd with LDAP authentication for Windows WebDAV clients

I'm setting up an Apache HTTPD web server on a clone of RedHat Linux 6.5, using the mod_webdav module and mod_authnz_ldap. The clients will be Windows 7 systems using Explorer with WebDAV. The issue ...
0
votes
0answers
31 views

Upgrade from 2.0.63 to 2.2.3 Apache - Main login page no longer appears

I recently updated an appliance that is based on a CentOS-5 platform and I can not get the Webservice login step to work. When I attempt to login to the appliance by pointing the browser to the ...
0
votes
0answers
20 views

Setting up nginx and apache httpd

Suppose I have nginx + php (fastcgi) running on domain.local:80/443 and Apache HTTPD server running on domain.local:8000/4430 Is there a way to configure nginx to reverse_proxy http(s) requests to ...
0
votes
0answers
111 views

Enforcing RC4 cipher and testing enabled ciphers with OpenSSL

I am trying to enable and enforce the RC4 cipher on Apache 2.4. I checked the Apache SSL HOWTO. It says the RC4 cipher can be enabled in the two ways below: SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!...
0
votes
0answers
375 views

Apache and VirtualHosts in OS X 10.10

So I've been using the default OS X install of Apache for a few years with no real issues beyond my own idiocy. However, I recently upgraded my MacBook to 10.10 Yosemite and now my VirtualHosts have ...
0
votes
2answers
2k views

Apache http to https redirect with Rewrite

Using Apache 2.4 on OS X Yosemite. Need to modify this virtual host for it to redirect http://server.kibana and http://www.server.kibana to https://server.kibana Here is the Vhost: <VirtualHost *:...
0
votes
1answer
1k views

OS X: Elasticsearch+Logstash+Kibana with Apache 2.4 (mod_proxy_http) from Homebrew

Trying to setup Elasticsearch+Logstash+Kibana with Apache 2.4. -- Successfully installed: brew install elasticsearch logstash httpd24 -- Enabled virtual hosts module in /usr/local/etc/apache2/2.4/...
1
vote
1answer
2k views

Apache2 | http.conf How do I set AllowOverride All on a directory

I have to set AllowOveride to All on my web server, but in my httpd.conf file, there is no <Directory> tag for me to place it in. I never seen this before. What can I do? Where is the file I ...
0
votes
1answer
102 views

How to password protect my webpage of 1 instance in ELB?

I have launched 2 instances with basic html page on AWS. And added those instances with one external ELB. I made the configurations like, only i can access those webpage by hitting the ELB and not by ...
0
votes
1answer
54 views

How to make HTTPD list directory of subdomain?

I have created a subdomain on my website using HTTPD and am wondering how to make it display the list of files in the directory instead of the Apache Test Page. Is there a directive I can add to the ...
2
votes
0answers
118 views

Can I view the resolved config Apache is using?

Is there a way to view the final "effective" config a running Apache instance is using after resolving any/all includes and the like? I'm looking at a config that has a web of includes and suspect ...
1
vote
2answers
457 views

How to make break line inside an instruction in Apache httpd.conf

I would like to make line break in my Apache configuration file - httpd.conf. Is it possible? If yes what is the special character to signal such a line break? So far I tried with backslash, what ...
2
votes
1answer
8k views

Is there any way to reset the `httpd.conf` in CentOS to the original/default version?

I was learning server installation by creating a web server in VMware, I don’t know what changes I made to httpd.conf. Is there any way to reset all the configuration for httpd.conf to default? ...
1
vote
0answers
17 views

How to force Apache to release filelocks?

To be honest I already posted on StackOverflow, and on searching for a resolution as no feedback there as yet, this site appeared, and it appears a separate login, so forgive me if I am duplicating ...
2
votes
4answers
4k views

File still unwriteable in /var/www/html after the chmod command

I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod ...
0
votes
1answer
99 views

Unable to get kickstart file from http webserver?

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
0
votes
0answers
154 views

How to log request for particular URL pattern in apache

How do I configure apache to log requests in the request URL matches particular regex pattern ?
0
votes
0answers
44 views

Apache Test Page Shows on External IP

If you use the external IP address in your browser for one of our sites, it displays the Apache test page rather than redirecting back to the domain name. Our other sites redirect back to the domain ...
0
votes
2answers
600 views

Macports Apache httpd not starting on Mac OS X Yosemite

So, after 2 days of struggling to figure why Macports Apache httpd suddenly decided to stop working, finally it came down to this: $ sudo bash -x /opt/local/apache2/bin/apachectl -k start ARGV='-k ...
0
votes
1answer
366 views

Using Apache Httpd mod_rewrite to rewrite URL based on Accept request header?

I'm attempting to rewrite a URL based on the Accept header of the request. I saw in the docs that this seems to be possible, but I couldn't find any details or examples anywhere on how to go about it. ...
2
votes
2answers
4k views

Why doesn't Apache start in MAMP?

I have installed MAMP on OSX and while MySQL is running, Apache doesn't start. Here are some screen shots I have to describe the situation. Also when I start the server (or before that) httpd is not ...
0
votes
1answer
152 views

HTTPD - Forbidden

Setting up Apache httpd (latest stable release) on a mac (Mavericks OS). Navigating to 127.0.0.1 when the server is up results in a 403 Forbidden. Any help is appreciated. httpd.conf DocumentRoot "/...
1
vote
0answers
35 views

Changed directory, wamp still goes to the old directory

I needed to change the default www directory WAMP provides, changed it in httpd.conf modified DocumentRoots as needed, works fine. But, if I click on the wamp icon and click on "www directory", it ...
2
votes
1answer
36 views

Apache httpd rewrite mode not work

I am using this gitlab config https://github.com/gitlabhq/gitlab-recipes/blob/master/web-server/apache/gitlab.conf Here's rewrite log 125.121.60.59 - - [14/Aug/2014:12:50:23 +0800] [xxx.xxx.com/sid#...
2
votes
1answer
2k views

MAMP PRO on Lion: why can't I see any changes in httpd-vhosts.conf?

After adding a local virtual host in MAMP PRO (os x lion) everything works as expected. Out of curiosity I had a look at httpd-vhosts.conf file placed in MAMP/conf/apache/extra and to my surprise this ...
1
vote
0answers
354 views

Multi-site Apache Load Balancer different domains

I am working on setting up an apache load balancer with 2 members. These three servers are windows server 2012 using apache 2.4.9. I am working to make one load balancing cluster serve up multiple ...
1
vote
1answer
99 views

Multiple directives in apache2 / httpd via command line?

I know you can specify one directive at the command line using this syntax: httpd -c "DocumentRoot ." But what if I also want to specify other options? Is this possible? I know there are static ...
2
votes
1answer
162 views

Apache httpd simple method for returning remote address

I have multiple remote systems that need to determine their public IPs, and I would like to use an internet-facing server running httpd 2.2 to return their remote addresses to them. While this would ...
0
votes
1answer
50 views

How to skip a cookbook according to node json file

I have a cookbook like this. if node['httpd'] == "nginx" package "nginx" do action :install end # a lot more stuff end But I don't want to embrace all setting in a if statement. Is ...
2
votes
1answer
700 views

'httpd-vhost.conf' breaks WAMPServer?

I am attempting to host a development website from my laptop using WAMPServer. My goal is to install WordPress and have users log in from their homes. I’ve successfully installed WAMPServer 2.2 I’ve ...
0
votes
0answers
2k views

Mac mini + server app + OS X Mavericks “You don't have permission to access / on this server”

I'd like to start server app in my Mac Mini OSX Maverick. Here is what I did: 1. Set up second SSD disk to Mac Mini 2. Move OSX Maverick to SSD disc 3. Download and setup server app to OSX Maverick on ...