Open-source HTTP server.

learn more… | top users | synonyms (1)

2
votes
1answer
6k views

Apache2 Syntax error, can't access 000-default

I have been using Apache2 and Webmin with my Raspberry Pi. After a restart and reinstallations Apache won't start. > sudo /etc/init.d/apache2 restart apache2: Syntax error on line 268 of ...
0
votes
1answer
2k views

Xampp is not running on ubuntu

I have nginx ,Apache2 ,Xampp installed on Ubuntu 12.04 Nginx is running on port 80 First I stopped Apache2 using /etc/init.d/apache2 stop Now I started Xampp using /opt/lampp/lampp restart I ...
4
votes
1answer
2k views

Zoneminder 404 upon installation

I've run sudo apt-get install zoneminder on my clean install of Ubuntu 12.04. The installation downloaded about 120MB and there were no errors. I then typed sudo service zoneminder restart and I can ...
0
votes
1answer
94 views

Apache2 post installation

I use the following command to install Apache server: sudo apt-get install apache2 The installation process seems to have completed without any problems. When I point my browser to localhost:80, ...
0
votes
1answer
8k views

Creating alias and script alias in Apache

I am configuring LG looking glass on Ubuntu. I have followed this link. In step 3 they said to add following two lines to webserver config: Alias /lg/favicon.ico ...
0
votes
1answer
6k views

How can I restore the default /etc/apache2 and default apache2 files? [duplicate]

Possible Duplicate: How can I replace missing configuration files after removing a package? My /etc/apache2 folder has been deleted, is there a way to restore the defaults of all files for ...
7
votes
2answers
41k views

SFTP permission denied on files owned by www-data

I have a pretty standard server set up running Apache and PHP. An app I am running creates files and these are owned by the Apache user www-data. Files that I upload via SFTP are owned by my own user ...
1
vote
1answer
4k views

I have an apache process that takes 98% CPU. How can I find what apache call it runs?

As you can see below, a single Apache process hangs and takes large amount of CPU resources. How can I find what http call this apache process runs? PID USER PR NI VIRT RES SHR S %CPU %MEM ...
2
votes
2answers
136 views

Permission to run telnet from a webpage

I'm trying to run telnet:localhost:2017 from a firefox webpage in ubuntu 10.10. I have created the necessary file association within firefox to launch telnet, but I think I need to give apache the ...
0
votes
1answer
3k views

Using Squid and Apache

I've installed squid3 on my Ubuntu 12.04. I changed the http_port to 80. When I type 10.1.1.103 in the "The requested URL could not be retrieved" from squid. Do I have to run Apache as my web server ...
2
votes
1answer
1k views

PHP may be executing as a “privileged” group and user, which could be a serious security vulnerability

I ran some security tests on a Ubuntu 12.04 Server, and I've got these warnings : PHP may be executing as a "privileged" group, which could be a serious security vulnerability. PHP may be executing ...
1
vote
2answers
1k views

Setting path for apache

I installed apache2 on my local machine, and when typing which apache2 it returns: /usr/sbin/apache2 And when trying setting path for apache2 by using the following command: sudo apache2 ...
0
votes
1answer
839 views

Will my nginx reverse proxy cache work?

I have a website running Nginx and Apache Apache deals with PHP files, and Nginx the html static files We have now changed the site so there are no html static files, only PHP files and this has ...
0
votes
2answers
167 views

problem after login in wordpress site

I have installed WordPress first installation on Apache server Its opening fine but when i logged in with my user id and password http://examplesite.com/wp-login.php It is showing blank in Firefox ...
2
votes
2answers
5k views

chmod u+s in /var/www

i have a problem at granting the right rights for the right user... i want to run pootle with apache, so i downloaded pootle. Then i copied it to /var/www, installed it and gave the www-data user ...
-1
votes
1answer
221 views

remote syslog hogging cpu

Currently my Ubuntu server is using 80 %(+/- 10%) of my CPU. The time on the process is 454:26.38. How do I troubleshoot this type of issue? What could be causing this/how do I fix it?
0
votes
1answer
955 views

How to give different port for Apache and Nginx in 10.10?

I am curios to know how can we assign different port to Apache and Nginx in 10.10. I installed nginx first then apache, so when I start my machine, nginx is taking default port: 80. I have to ...
0
votes
2answers
14k views

Can't find Localhost files

Hope you can help. This is my first time trying Ubuntu/Linux. I am logged in as root I have downloaded and installed LAMP and PHPMYADMIN. I get the test page under localhost say that It works and is ...
2
votes
1answer
611 views

nobody and nogroup as directory owner when writing with php

When executing a php script, that creates a directory the resulting file is owned by nobody and nogroup. I know that apache2 is executed as www-data on Ubuntu systems, so, why is my directory owned by ...
3
votes
1answer
1k views

How to make apache2 use php 5.4.5 compiled from source?

As most of us ubuntu users know, 12.04 comes with it's own version of Perl and PHP (5.3.10). Recently I compiled apache 2.2.22 and PHP 5.4.5 from source, and when I open a terminal to php -v, it ...
2
votes
2answers
617 views

What are the benefits of having www in the home folder than in the default /var/www folder

I am trying to explain some students what are the differences between having www on the home folder, for example /home/cyrex/www and in the /var/www. So I wanted to ask here what are the benefits of ...
0
votes
1answer
1k views

Can't restart apache due to invalid 'echo' command

When i enter command admin@ubuntu:~$ sudo /etc/init.d/apache2 restart [sudo] password for admin: I get this msg Syntax error on line 3 of /etc/apache2/conf.d/fqdn: Invalid command 'echo', ...
2
votes
1answer
9k views

How to disable non-ssl connection on Apache 2.2

I am using Apache 2.2 on 12.04. I have activated ssl connection with a self-signed certificate which works fine, but now I'd like to disable any non-ssl connection. I used a2dissite default but the ...
1
vote
1answer
6k views

Change permission from -rwxrwxr-x to drwxrwxr-x

I have a php file which is trying to read and write xml files on my Ubuntu server, however the problem is that it does not have permission to do this (permission denied error). I have tried the ...
3
votes
2answers
3k views

Configuring php on Ubuntu server [closed]

I have been following this tutorial http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp And I have got to the part where I am running a simple test to ...
0
votes
2answers
5k views

Setting ServerTokens and ServerSignature in Apache

I have been following this tutorial closely http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/comment-page-8/#comments I have installed Apache php & MySql I ...
1
vote
1answer
2k views

How to run asp.net in ubuntu using apache

My office server run on Windows 2008 server and I want to shift to ubuntu Server but the problem is that all my application are based on asp using dot net framework 4.0, so how do I configure to run ...
1
vote
1answer
502 views

Apache Virtual Host on ubuntu 12.04

I have been trying to setup virtual host on apache2. Most of the answers I have seen have been including steps which include uncommenting the include line in httpd.conf, but my httpd.conf file is ...
2
votes
1answer
2k views

link windows xampp htdocs dir with linux www dir

I'm migrating from Windows to Ubuntu. I've installed Apache on Ubuntu. It keeps files in /var/www/ folder. When I was on Windows, I've had used XAMPP, which keeps files in /xampp/htdocs/. So I don't ...
5
votes
2answers
21k views

How can I install MySQL along with phpMyAdmin?

I installed php5 from the Software-Center and it came along with Apache2. How can I install MySQL database along with phpMyAdmin?
1
vote
1answer
3k views

how to get LAMP offline installer?

Where can I download the latest Apache, MySQL and PHP offline installers (maybe .deb)? (both x64 and x86, if available) I'm currently on Windows, and can't switch to Ubuntu and use apt-get download ...
1
vote
2answers
348 views

Rename localhost folder. Gives empty screen

I'm trying to rename my apache2 localhost folder. I have already gone to /etc/apache2/sites-enabled/site-name and changed the following lines in the Document: DocumentRoot /home/user/public_html ...
0
votes
1answer
591 views

Apache2 memory limit

What does setting your memory limit to -1 do in php.ini for apache2. I assume it just gives it unlimited memory but im not sure could anybody clarify? Dont want it chewing through all my memory ha! ...
0
votes
1answer
743 views

Multiple Wordpress Blogs in 12.04

I've got an ubuntu server hosted up at Amazon. I'm using virtual hosts, and I already have that somewhat set up. (i.e. wiki.mydomain.com is my mediawiki which is running). I'm installing Mediawiki per ...
2
votes
2answers
4k views

LAMP: Apache not accepting “index.php” files and displaying directory listing

I just installed lamp here on my desktop. i am using 12.04. Installation works perfectly but when i tried to access localhost/wordpress/ it doest read the index.php. It shows like this: Why is it ...
0
votes
1answer
3k views

Allow port 80 into Ubuntu

I'm trying to create a basic web server. I am running Ubuntu 12.04 desktop. I have installed LAMP and set up html files, and when I open a browser and navigate to 192.168.1.95 (static internal IP of ...
1
vote
1answer
2k views

12.04: php5-curl not working, NOT a LAMP server

I've just setup a fresh install of 12.04 Server. Have everything working nicely, except getting this php5-curl mod to work. I ran apt-get install curl libcurl3 libcurl3-dev php5-curl So I go check ...
0
votes
1answer
107 views

update mod-wsgi in apache on Ubuntu server

I wish to update mod-wsgi to my Ubuntu server and I am doing it for the first time. I am not sure how do go about this. Can somebody guide me? I tried sudo a2enmod wsgi but I am getting the ...
0
votes
1answer
128 views

/var/www owned by my user, cant send files to trash

I changed ownership of /var/www to username:username since im using it only for development but when i try to delete something it wont send the files to the trash but asks me to permanently delete ...
2
votes
1answer
1k views

PDF to XML sure thing, but the other way around?

This is my first post so excuse me if I'm breaking any conventions. Well the thing is I'm developing a long term archive system in Ubuntu environment. For different reasons XML is a very strong ...
3
votes
2answers
2k views

phpmyadmin problem

Somehow, I manages to install appache2, php5, mySQL server and phpmyadmin. Typically, I should type "localhost/phpmyadmin" in my browser to open the phpmyadmin interface .. however,this is what ...
1
vote
1answer
765 views

What are proper permissions for localhost php files? Getting 403 error

This is driving me crazy. Really crazy. Quick story. I've created a symlink: sudo ln -s /home/richardmandx/Dropbox/www /var/ When i go to localhost (installed via sudo task-sel lamp-server) You ...
33
votes
5answers
132k views

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server? ...
1
vote
1answer
1k views

How do I get mrbs installed and working?

I'm trying to install Meeting Room Booking System on ubuntu 12.04 I think I have apache and php5 up and working fine. A test.php file with contents: <?php phpinfo(); ?> loads and gives me ...
0
votes
1answer
3k views

connection refused on localhost 25 (apache James)

I was looking at a similar question, but all that I gather is that it could be a problem with the OS and not James precisely: thufir@dur:~/apache-james-3.0-beta4$ ...
0
votes
1answer
362 views

Cannot run cgi as httpd.conf is empty!

For help I checked out these links: This This and This I have an empty httpd.conf file but apache2.conf is not and the formats and tags in apache2.conf are similar to what httpd.conf has in windows ...
4
votes
2answers
2k views

Phpmyadmin doesn't work with other user than www-data?

I've changed the user+group where apache is running to my user name so I don't have to change the web files I'm editing. But now I get NoDataReceived error trying to import using phpmyadmin. ...
3
votes
1answer
593 views

Apache or PHP inserting a Newline at start of every HTML and XHR response

I have a PHP app running on a cloud-based Ubuntu server and for some reason, I am getting a newline at the start of every HTML file or XHR response. I have a local version of the app running on ...
2
votes
1answer
6k views

sites-available subfolders and a2ensite?

Due to my job on my localhost I have a lot (think 50+) sites running, these are for about 8 different clients, I want to organise my sites into subfolders. I tried putting my sites in subfolders ...
0
votes
0answers
573 views

Apache cannot assign requested address error

I changed etc/apache2/ports.conf and wrote **.***.**.***:80 but when I want to restart the apache2 I see the following error: (99)Cannot assign requested address: make_sock: could not bind to address ...