Use this tag for questions related to the Apache http server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Generic webserver related questions should use the tag: webserver. Few of the other Apache related projects have their own tag, don't use ...

learn more… | top users | synonyms

1
vote
1answer
181 views

Web server won't show Drupal install page

My web server is showing an Apache 2 test page when it should be showing the Drupal install page. I've set up permissions correctly, so the last thing I've read it could be are the iptables firewall ...
0
votes
0answers
363 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
1
vote
3answers
2k views

Can only access my webserver from my computer?

I am learning Apache2, and I just attempted to make my local web server live to the internet. When I type my IP 86.207.14.136 on the browser's address bar and access it, I see the index.html stored ...
3
votes
3answers
942 views

Use of variables in Apache configuration

I have a number of largely identical configuration files in my Apache2 configuration, for configuring various subdomains. In most of these configuration files, only the name of the subdomain itself is ...
1
vote
1answer
58 views

Apache2 configuration issue?

Why is it that when I write the directive Alias /hello /myfile.php it works fine, but if I write Alias /hello /myfile.php?myvar=test apache gives me 'NOT FOUND'.
2
votes
1answer
637 views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
2
votes
4answers
221 views

Executing programs without having to specify a directory?

Why is it that I have to type /etc/init.d/apache2 (args) in order to run apache?? Isn't there a way to just apache2 args ??
1
vote
3answers
593 views

Make Apache view hidden files (Solaris)

Is it possible to make an Apache server like this Apache/1.3.41 Server at user.it.uu.se Port 80 display hidden files (i.e., those who start with a dot) in a specific directory? I have some ...
1
vote
0answers
238 views

Apache configuration wont update

I have just installed this server with Ubuntu server 12.10 and then installed Apache2, however now when I run service apache2 reload or service apache2 restart it claims to have suceeded in updating ...
0
votes
2answers
993 views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
2
votes
1answer
344 views

How to move the /var/www directory to a USB HDD?

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK. QUESTION: How can I use the /dev/sd0a on /mnt/usbhdd type ffs (local, nodev) instead of the default "/var/www" directory? What ...
6
votes
3answers
4k views

A Web ssh/telnet client

I'm in kind of a tight spot right now. I wanted to know if someone has seen a HTML, or PHP web ssh client as both my company and school block everything besides port 80. I'm a control freak when it ...
1
vote
1answer
123 views

Update HP-UX 11i software

I have an old HP-UX 9000/800 PA-RISC B.11.11 (11i) on hands and I'd like to update its services to newer version. Actually, I'd like to update LD from current version B.11.18 to B.11.32; and ...
1
vote
1answer
80 views

Embedding a cmap in moinmoin

I'd like to embed a cmap in a moinmoin wiki page. I generated the cmap using dia. I then copy pasted the generated html code, modified it to point to the png image I attached to the wiki. However ...
1
vote
1answer
1k views

ProxyPass with Gollum wiki

I'm trying to run Gollum, a wiki that uses git, on a Debian server for personal use. Launching it without any command line options makes it listen to to http://localhost:4567, which I can access just ...
2
votes
3answers
1k views

Cannot Access Webpage from Outside LAN

I have a CentOS 6.0 web server running httpd, mysql, php, and Joomla 2.5. It has a static, public IP address. I can access the webpage (which is the Joomla management console) by IP address perfectly ...
2
votes
0answers
899 views

Owner & Group setting for OpenCart install on CentOS 6.3

I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
0
votes
0answers
342 views

mod_python won't “./configure” because it can't determine httpd version

I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
3
votes
1answer
493 views

Bot requesting odd resource in apache logs

While studying for the RHSCA exam I set up my first home server and quickly found that bots had already started requesting commonly vulnerable files. It was alarming at first, then just purely amusing ...
1
vote
3answers
11k views

Apache 403 Forbidden on sub folders?

I can view all files in the root directory (/var/www) but as soon as i enter a sub directory (eg /var/www/test) i get a 403 Forbidden error. I'm running Ubuntu 12.04.01. Have tried searching for ...
2
votes
1answer
1k views

How do I get simple scripts which seem to need root priveliges to run via the www-data user?

I am programming a small webinterface to control samba on Debian (kernel 2.6.32-5-686). I started by writing simple scripts to add users, create folders, etc. They worked fine when run as root. ...
14
votes
2answers
14k views

How to avoid apache reload when rotating logs?

I use logrotate to rotate Apache access-, error- and rewrite-logs. My config file looks like this: /apache/*log { compress dateext rotate 365 size=+300M olddir /log/old/apache ...
2
votes
2answers
612 views

Monitor bandwidth usage from different virtual hosts

I've got a VPS running Ubuntu and Apache and hosting several sites on it using virtual hosts. It would be very interesting to monitor which of these sites takes the most power and bandwidth, I've been ...
1
vote
0answers
227 views

apache2 gui / Comanche Replacement

I opened an OLD redhat book to the section about Apache configuration and it talked about the Comanche GUI. I thought "That's great! Why hasn't anyone suggested that before?" Then I found out that ...
0
votes
1answer
860 views

Ubuntu 10.04 LAMP Virtual Host seems to ignore active sites

I was going to delete this question, but I couldn't because it has been answered. I am abandoning this question because I am going to replace my desktop install with a server install. We'll see if ...
4
votes
2answers
15k views

Execute shell script from php, as root user?

Need to execute the following line from PHP: $res = shell_exec('sudo sh /home/nicklas/cronjobs/make_account.sh username password'); The problem is nothing happens on execution. If i try to ...
1
vote
2answers
273 views

Runtime User Privilege Management ColdFusion on CentOS cPanel

I'm needing to understand the correct workflow for managing permissions to allow the ColdFusion 9 runtime user {coldfusion} to have access to user accounts. The germane elements ... Centos 5.8 WHM ...
1
vote
2answers
879 views

Apache not responding on port 80 after forwarding port?

I'm trying to set up a web server for my first time. I'm running Ubuntu 12.04.1 and i've installed LAMP. I have also set up a static IP for the server, 192.168.0.111 and reserved it in the router ...
3
votes
2answers
1k views

Scripting htdigest -c /path/to/file/$user $user $password in Bash

I want to be able to script with a password in variable $password. htdigest -c /etc/apache2/pw/$user $user $password At the moment it asks me to manually enter a password, this is not going to be ...
2
votes
2answers
1k views

How to install mod_mono on Linux Mint?

I'm a linux newbie trying to install mod_mono on Linux Mint Maya/Cinnamon. I can't seem to find any tutorials or anything on how to do this. So far, XSP and MonoDevelop seem to be working. I created ...
4
votes
1answer
1k views

How to configure permissions to allow apache to securely have access to a file in a shared environment?

This is a follow up question from my previous, but I felt it might be more Linux based. http://serverfault.com/questions/414207/how-to-set-linux-permissions-to-allow-apache-to-have-access-to-a-file ...
4
votes
1answer
2k views

Bash, remove lines containing string with grep

This is currently deleting the whole contents of the file in question: #!/bin/bash rpc_port="9201"; dir="/etc/apache2/ports.conf" cat $dir | grep -v "Listen $rpc_port" > $dir The file contents: ...
1
vote
2answers
404 views

apache, tomcat context path

I have Tomcat and Apache installed in CentOS 5. They're integrated with a help of mod_jk.so. They both display the same in http://www.tource.com/cms/admin and http://www.tource.com:8080/cms/admin ...
3
votes
0answers
176 views

Traffic getting routed through Apache

for some reason, certain outgoing traffic on my server gets routed to the apache webserver i am running. this problem just started happening. i have the webserver set up to use vhosts, the webserver ...
1
vote
2answers
1k views

RewriteRule to cause subdomain to load another DocumentRoot?

I could sure use a little help with what I am trying to do with a RewriteRule in .htaccess: ...to causes URLs using our sharpedge. subdomain to auto-load from the Internet_IE directory - one level ...
2
votes
1answer
2k views

conditional DirectoryIndex based on IP address, using .htaccess

I've got this in httpd.conf: <VirtualHost xx.xxx.xx.xxx> Options All +ExecCGI ServerAdmin hostmaster@thehost.com DocumentRoot /var/www/html/domain.com ServerName dl.domain.org ...
0
votes
5answers
14k views

Problems setting up web server in CentOS

I want to set up a web server on one of my computers (Dell Desktop) and decided on CentOS as the OS. Apache is installed properly (I think. pgrep httpd returns a bunch of processes that are running). ...
1
vote
1answer
728 views

Permisions overwritten when files are transfered via FTP. What to do?

Got my web server up and running using apache2 with the ability to ftp to /var/www folder. However, if I make an update to .html and copied over the file via ftp, the file's permisions become more ...
2
votes
1answer
196 views

How to block ip adresses which access more than n-pages in m-prediod of time?

How to block ip adresses which access more than n-pages in m-prediod of time? I want to blovk all auto-traffic and I am not sure how to approach this issue.
3
votes
1answer
313 views

How to redirect traffic from subdomain to main domain

I have a demo.domain.com and domain.com they both show the same information and point to the same folder. How can I redirect all demo.domain.com visitors to domain.com?
4
votes
3answers
5k views

Cannot Compile Apache: “Error, SSL/TLS libraries were missing or unusable”

Arch Linux 2011.08.19 (Linux 3.4.2 i686) Apache 2.2.22 → 2.2.22 (recompile & reinstall) OpenSSL 1.0.1.c-1 These details are likely irrelevant, but: I’m using yaourt with customizepkg to build ...
3
votes
1answer
870 views

Can /mnt/hgfs/'shared folder' be used as apache root?

I have an Ubuntu Server (12.04) running on my development machine. It is in a VM. I have succeeded with the task of setting up Apache2, MySQL, and PHP. I can access the server from my host browser ...
2
votes
1answer
94 views

How to make a module dynamically loadable on Debian?

I'm applying an API from maxmind. They require additional an module for Apache. Now they recommend the command: apxs -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c ...
1
vote
0answers
543 views

Permission issues while setting up cakephp

I am pretty new to linux and trying to setup cakephp on opensuse 12.1. I did as told on the cakephp website(blog tutorial) and most probably encountering some permission issues. I slapped the cakephp ...
-1
votes
4answers
1k views

Arch Linux: Yaourt/Makepkg Can Not Build Apache

I am using yaourt to automatically compile Apache from source every time there’s an update available from extra. I am doing this so that I can have a custom suexec docroot (/srv/www rather than the ...
0
votes
1answer
3k views

Giving apache user same permissions as root only on specific folders

Not sure if this is possible but is there a way to grant the Apache user same level of permissions (ownership) as root only on specific folder(s). Why I need this: We have a CentOS 6.2 server with ...
2
votes
2answers
3k views

How to make apr available for subversion install?

I try to install subversion from source, but on ./configure receive: configure: error: no suitable apr found I have download apr source and installed: libraries have been installed in: ...
2
votes
1answer
634 views

Moin underlay permissions

I am running moinmoin on Debian squeeze... this is a wiki I migrated from an old Debian Lenny machine whose power supply died a couple of years ago. I copied /opt/mydebianwiki to the new server and ...
1
vote
2answers
1k views

How can I get crontab to use a different PHP installation location?

I have a MAMP setup which runs PHP 5.3.5 on my Mac OS X 10.5 computer. I am trying to install a crontab that executes a PHP script, which is located on my MAMP server. I can only get the crontab to ...
5
votes
2answers
657 views

apache and php Segmentation fault [closed]

I have recently migrated to Archlinux. I installed Apache, php and mysql according to the Arch Linux LAMP wiki page. Now I have setup a virtual host for my new Symfony project. For every request I ...