The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
233 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 ...
0
votes
0answers
9 views

Lighttpd: Activate User Directories

I'm failing to activate user directories for Lighttpd. I already run following command to activate user directories.But unable to use them from my browser. # As root % lighty-enable-mod userdir ...
0
votes
1answer
27 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
13 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
3k 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
22 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: ...
9
votes
3answers
1k 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 ...
0
votes
0answers
44 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
28 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
181 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
134 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
3k 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
0answers
124 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
0answers
5 views

Is there a way to disable rather than switch off Listen in Apache config?

In my vhosts.conf file I need to override "Listen 80" set in httpd.conf but don't find a way how to do that. Adding another "Listen" directive works, but I just want to disable the "Listen 80" ...
0
votes
0answers
26 views

where to look in .conf for httpd access

The server has LAMP configured and running. It has two apps installed and running, owncloud and wordpress. If on the wordpress.conf snipit below the Require ip 10.0. is removed wordpress will not ...
5
votes
4answers
11k 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 ...
0
votes
0answers
96 views

mod_fcgid not parsing php pages (Centos 6)

Here is what i have done so far: I made sure that statement below is added to httpd.conf LoadModule fcgid_module modules/mod_fcgid.so The mof_fcgi.so is indeed located the modules folder. Here ...
0
votes
0answers
18 views

VirtualHost directive being ignored

In WHM, I am trying to set up a VirtualHost to pick up a domain (mapped to the server IP via A Record) and point it to an existing domain on the server. <VirtualHost *:80> ServerName ...
0
votes
0answers
13 views

Running two Apache in a webserver

I Installed httpd on two directories on my machine. one is using yum - /etc/httpd other is using compilation of tar.bz package - /usr/local/apache how can i identify, out of two installation, which ...
0
votes
1answer
48 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
32 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] ...
0
votes
0answers
31 views

mod_auth_token on a directory listing?

Apolgoies for the noobiness but I'm clueless when it comes to this! What I'm wanting to do is offer a directory listing to visitors so that they can download files provided. I was told that ...
2
votes
1answer
13k 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/(.+)$ ...
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
181 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 ...
0
votes
0answers
167 views

Does rewrite module work in httpd on DSM 5.0?

Adding the following VirtualHosts to my httpd configuration (separate file included at the end of httpd.conf-user; inclusion works because syntax errors in file cause crash) <Directory ...
1
vote
1answer
54 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 ...
0
votes
0answers
88 views

Allowing LAN users to access Apache Virtual Host

So here's my dilemma. I have edited the host's and client's hosts file with [host ip] [servername]. I am using Django with mod_wsgi, and all of this is under the Zentyal service. This is my ...
0
votes
0answers
68 views

Why doesn't Apache Server allow Order command in .htaccess?

I'm running Apache v2.4 on Windows 7 and when I try to insert Order or Options into my .htaccess file, the server gets errors like these: Invalid command 'order', perhaps misspelled or defined by ...
2
votes
1answer
70 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
28 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
450 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 ...
1
vote
2answers
2k 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 ...
0
votes
2answers
204 views

How to set iptables?

I want to allow traffic only for httpd(nginx), port 2710 and ssh. I've tried the following, but it didn't work and apparently all httpd, traffic was blocked and I couldn't access ssh as well. There ...
0
votes
0answers
225 views

Cannot access local hosted site through local lan internet

I have hosted website in RHEL 5.7 x64 bit through httpd (apache) service in default configuration and set my website url in /var/www/html/helpdesk/. I have already flush the iptables also SELinux ...
1
vote
1answer
180 views

Centos 6 log errors, how to fix?

So for some reason all my images on my blog disappear, no idea why now, but the first time it happened I removed Varnish, and the images came back, everything worked fine. An hour later the images ...
0
votes
1answer
1k views

Check for Apache state in Linux

Hi i have a java application that starts/stops/restart Apache and it should also check for its status, so i have looked how checking for status of apache and it appears that you have to check for the ...
1
vote
1answer
2k views

Centos + Apache: can I change owner from “root” to “nobody” safely?

We have a magento installation on our Centos webserver. The ownership of the files is a bit of a mess. I've had rights issues before, and now magento is complaining that it hasn't enough rights to ...
0
votes
0answers
92 views

Is there any software to visualise Apache HTTPd configuration?

I need to graphically represent Apache 2 HTTPd configuration. Is there any software or scripts that can do this for me? Any suggestions would be appreciated. Thanks!
1
vote
2answers
1k views

Why my local website display Apache2 Test Page

I've installed httpd, mysql and php on my CentOS 6.4 server. I've setup Virtual host 80 and 443 for trien.abc My client (windows 7) still displays Apache2 test page. Where did I go wrong? My Apache ...
3
votes
1answer
52 views

Why is there “httpd” on OS X and “apache” on Ubuntu?

Why is there a difference in the name for the same thing on different OSes? On OS X I have httpd. On Linux, apache. ps aux | grep httpd ps aux | grep apache Why is this?
0
votes
1answer
110 views

HTTPD benchmarking tool that parses output

I'm trying to benchmark a HTTP server. It's becoming quite obvious that I won't get accurate numbers if the tool being used doesn't parse any output (the JavaScript and HTML). Does anyone know of a ...
1
vote
0answers
304 views

Apache Webserver (2.4.x) running on Fedora in Home Server not accessible

I have Apache-2.4.x running on a GNU/Linux system (Fedora, DHCP, IP Address: 192.168.1.5). I'm able to access the index.html page by all three methods mentioned below: http://localhost.localdomain ...
1
vote
1answer
324 views

What is the difference between using `root /dir/name` and `alias /dir/name` in nginx?

It seems like root and alias do the same things by definition, but for some reason when I use root, I get a 404, but it works fine when I use alias. Any ideas?
0
votes
1answer
3k views

How do I give a group 'service httpd graceful' permission in sudoers without passwd prompt?

I'm currently trying to lock down my users a bit. I've created some users: www.foo www.bar and a group: apacheadmins Both www.foo, and www.bar are members of the apacheadmins group. They do ...
3
votes
1answer
262 views

Firefox on Ubuntu repeatedly asks for password with HTTP authentication

I asked this on Stack Overflow and it was suggested that I ask here instead. I have tried searching for this but nothing I find quite matches my issue. My wife and I run identical setups. We both run ...
4
votes
1answer
1k views

Where is httpd.exe supposed to be?

On our server is Windows Server 2008 R2 Enterprise Edition. Apache won't load. I have been chasing this for a few days now; received lots of advice. One specific set of instructions was to see what ...
0
votes
0answers
402 views

My httpd server is often down for no reason

This is report from chkservd Server: host.superhostsite.com Primary IP: 76.73.1.154 Service: httpd Notification Type: failed Notification: httpd failed @ Wed Jul 24 19:44:06 2013. A restart ...