Open-source HTTP server.

learn more… | top users | synonyms (1)

0
votes
0answers
18 views

Open dir not working php

I am running Ubuntu 14.04 and I have a running apache2 server where the following php code: <?php $dir = opendir("/var/www/html/test") or die("Error type 1"); //Code here closedir($dir); ?> ...
0
votes
0answers
25 views

Disable listing of files apache2

I am running an apache2 server on Ubuntu 14.04 and and whenever I connect to localhost, it shows Index of / Name Last modified Size Description (files are stored in my /var/www/html) ...
0
votes
1answer
78 views

Unable to connect to local network after deleting everything in /var/log

I'm using MythTV and MythWeb has suddenly stopped working. When I try to connect, my web browser reports: Unable to connect Firefox can't establish a connection to the server at 192.168.1.100. I ...
0
votes
0answers
18 views

how to set up cgi-bin directories for virtual host set up? [duplicate]

I got a problem while configuring my virtual host server . I have created two site .The set up is like this <VirtualHost 192.168.0.105:80> DocumentRoot /var/www/sitea/html </VirtualHost> ...
0
votes
0answers
67 views

How to allow access to web page from internal IP but use PAM auth for external access in Apache 2.4?

I have tried to implement the following logic for page access in an Apache 2.4 server in Ubuntu 14.04: if (internal-ip) allow; else if (external-ip) get authentication; A similar setup worked in ...
0
votes
0answers
123 views

Error 500 on localhost/phpmyadmin

I recently installed apache2 and phpmyadmin on localhost, and everytime I try to connect to localhost/phpmyadmin I get prompted with an "Enter your username/password". I enter root as the username and ...
1
vote
1answer
461 views

Cannot create file in /var/www/html

I am running Ubuntu version 14.04, and I have an apache2 server set up to host some php files on localhost that are stored in /var/www/html. When I try to execute the following code in one of my php ...
1
vote
2answers
32 views

How to change the “Index of ..” template?

Hi is it possible to change this page its style, etc..? EDIT # 1 Nov With Lucio answer I got it working. I've set IndexStyleSheet to one specific location so it also will operate from the same ...
0
votes
0answers
61 views

Apache can serve files in root, but not in any subfolder

Brand new LAMP installation on Ubuntu 14.04. I can view all of the files at the root /var/www/html/ folder. I can run phpinfo.php at the root. I installed phpmyadmin and can access that application. ...
0
votes
1answer
76 views

How do I stop default localhost virtualhost from directing to named virtual host?

So a little background info first: using PhpStorm IDE (actually not important but just relaying info) using Vagrant running an Ubuntu 14.04 box (use of Vagrant also not important) have main ...
0
votes
0answers
135 views

ubuntu 14.04 apache 2.4 using ldap authentication

[Thu Oct 30 15:49:11.683108 2014] [authz_svn:error] [pid 27661] [client 192.168.37.22:53950] Access denied: 'livenux' GET svn:/test2 #/etc/apache2/mod_enabled/dav_svn.conf <Location /svn/> ...
-1
votes
1answer
35 views

accessing apache webpage from external location

I'm trying to configure multiple websites on my locally installed ubuntu server(v 14.10) and the problem im having is accessing a web page i create ie testing.dev from outside my local environment. ...
1
vote
1answer
141 views

FIXED] Apache2 URL Rewrite using Joomla - Permission issue? (500 internal error)

FIXED I am using LAMP with Joomla 3.3.4 on ubuntu desktop I am currently using the local ip (192.168.x.x) to access the site as I don't have a domain name yet while I am still developing the web ...
-1
votes
2answers
91 views

SSL on Ubuntu Server 14.04

I cant figure out how to activate ssl on apache2 in ubuntu server 14.04 `? on my ubuntu server i have installed lamp owncloud i havent made any configuration on the lamp server yet. only isntalled ...
0
votes
0answers
31 views

get python scripts working on apache2 in ubuntu 14.04

dear people of askubuntu, I am new with ubuntu and working on a project that used to work before I came here. I have the following setup: a folder /var/www/localhost wich contains all my html files ...
0
votes
0answers
123 views

Iptables PREROUTING to redirect port 80 through varnish not working

I try to use iptables to keep Varnish on port 8080 and Apache on port 80 and just preroute everything coming in at port 80 to port 8080. It isn't working. When I call the site on port 8080 everything ...
0
votes
0answers
12 views

htaccess in a directory under one with another htaccess

On my Apache Server on a Ubuntu machine, I have this structure to host a website under '/' and a WordPress blog under '/myblog' directory: --- root_directory/.htaccess --- root_directory/php_stuff ...
0
votes
2answers
39 views

Problem with apache

I have problem with apache, when I get configure a LAMP then I write: sudo apt-get install apache2 And everything been fun, but next I wrote cd /etc/apache2/mods-available sudo cp * ...
0
votes
0answers
32 views

Running a php website

I have apache2, php5 and libapache2-mod-php5 installed. And a website written in PHP, it's located in my documents in a some folder, say, ~/Documents/my_website. When I go to localhost/index.html, it ...
0
votes
1answer
431 views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
0
votes
0answers
65 views

Php5 Mcrypt still not working on Ubuntu 14.04

I installed php 5.5.9 and mysql 5.5.4 with nginx on a new aws instance running Ubuntu 14.04. I tried to install php5 mcrypt but it either doesnt recognise its installed or breaks apache. It seems ...
0
votes
2answers
79 views

Installing LAMP - PHP not connecting with MySQL - Why?

Am followoing this amazingly simple LAMP tutorial http://ubuntuserverguide.com/2014/06/how-to-install-lamp-in-ubuntu-server-14-04-lts.html Installing Apache Installing MySQL Installing PHP The ...
0
votes
2answers
205 views

Nginx over Apache with Laravel give rewrite_mod problems

Im running Nginx over Apache. I Nginx listens to port 80 and proxy it to port 8080, which Apache listens to. So far it works for direct url to files, like domain.com and domain.com/index.php. But ...
2
votes
1answer
29 views

Will apache2 restart automatically if it's processes die on the server?

Will apache2 restart automatically if it's processes die on the server? As I understand it, apache2 starts by using SysV with links in /etc/rc?.d/. I can see them using this command: ls -l ...
4
votes
2answers
460 views

Nginx Suddenly Appeared

I've never heard of this happening, so I'm baffled and not sure where to begin debugging. I'm on 14.04 and have had LAMP installed (as instructed here) for 3-6 months. Today, my laptop rebooted, and ...
0
votes
0answers
28 views

How to integrate redirect 301 from /index.php to / on apache2

I have an Ubuntu 14.04 Server and my Document Root is /var/www/. I have an index.php and I want to set it to redirect to /. These are the contents of the Directory directive at ...
0
votes
1answer
24 views

What are the proper rules for the root Directory Directive

I have an Ubuntu 14.04 with an index.php at Document root, which is /var/www/ and at a subfolder called blog, that contains, well, my blog. I think I've foolishly changed the directives and I ...
0
votes
1answer
39 views

Can't find my internal IP Ubuntu

I've been trying to access Apache from my host so I could access it from firefox etc. I've been following the guide How can I access Apache (on VirtualBox guest) from host? from this page but when I ...
0
votes
1answer
645 views

libapache2-mod-php5 : Depends: php5-common

I installed php5.5 and upgrade Ubuntu from 12 to 14. Now the system isn't working. I did sudo apt-get upgrade && sudo apt-get install libapache2-mod-php5 But got The following packages ...
0
votes
1answer
49 views

404 errors on subdirectories after upgrading to Ubuntu 14.04 from 12.xx

I am receiving a HTTP 404 error when navigating my website's subpages. For example, I can get to www.examplesite.com, but cannot browse to www.examplesite.com/clients or any other subdirectory/page. ...
0
votes
1answer
103 views

User has full access with FTP, limited access with SFTP

I'm running Ubuntu Server 14.04, and I followed these instructions to set up a user account that should be limited to its own home directory. The problem, however, is that FTP access is still allowed ...
0
votes
1answer
148 views

How to change the “Apache/2.4.7 (Ubuntu) Server at localhost Port 80” line in Apache?

When I open the browser and I go to localhost in my web-browser, and there is not an index.* file the Apache webserver will show a file browser. At the end of the file browser, it posts this line: ...
0
votes
0answers
77 views

Write permission problems

I have a problem with my website files. I have set the permissions of files to : -rw-rw-r-- 1 www-data www-data 40 oct. 20 09:58 session.json -rw-rw-r-- 1 www-data www-data 63 oct. 20 09:58 ...
0
votes
1answer
173 views

How to update Apache2 on Ubuntu 14.04 Server to the latest version?

I'm having some issues with a website I'm building. Avast is giving some false alarms when i'm accessing it so I checked with Sucuri. The only problem that Sucuri sees is that I have Apache 2.4.7 and ...
0
votes
0answers
31 views

How to resolve this fault when I try to start apache server?

I typed in following command to start the apache2 server : /etc/init.d/apache2 start then it gave me following error : * Starting web server apache2 (13)Permission denied: AH00072: ...
0
votes
0answers
100 views

How to resolve this error I got after PHP version upgrade “The apache2 configtest failed.”?

I'm using ubuntu Linux 12.04 LTS on my machine. I was using PHP 5.3.10 Now I upgraded to PHP 5.5.18 by using few commands on terminal. After I upgraded to latest PHP version I checked the version by ...
1
vote
0answers
45 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
0
votes
0answers
25 views

Problem with change of ServerName in apache2 web server

So I set up an apache2 web server & owncloud . We registered a free domain at *.homeserver.com and it worked pretty well, except the fact that we were not able to create a trusted ssl certificate. ...
0
votes
0answers
44 views

Unable to Install SSL Certificate

I've spent a day trying to install this SSL Certificate I got from Namecheap. Okay, so I already have my .crt and .key files. Now I want to install it, and I figured the configuration file is located ...
0
votes
1answer
918 views

Can't run Apache 2.4.7 on Ubuntu 14.04 - Forbidden

I recently installed a fresh version of Gnome Ubuntu 14.04 I then used tasksel to install lamp server Then I did like I do always usermod -a -G www-data $USER mkdir /srv/www/html cp ...
-3
votes
1answer
74 views

how to change location of localhost?

I installed apache2, mysql, php and phpmyadmin . The root location is in /var/www now but i wanted to change it to something like /home/user/sites or something. In the other threads , the solution was ...
2
votes
0answers
27 views

Could I recompile php after install with apt-get?

the title says a lot I guess, I want to install my lamp serve with: apt-get install lamp-server^ And after that I want to recompile the php to add the pthreads, it is possible install the lamp ...
0
votes
0answers
43 views

Determine number of SSL 3.0 Connections to Ubuntu Apache Webserver

In light of POODLE I would like to disable SSL 3.0 I'm aware that a number of clients use web services over SSL 3.0 because disabling SSL 3.0 has historically broken their integrations. I would like ...
0
votes
0answers
67 views

apache cannot upload images into a proper permission set directory

I have an issue with uploading images. Website is on a Ubuntu vps, and I have installed apache, set up the domain, virtual host, and everything else work fine. But there's an option in the website to ...
4
votes
0answers
5k views

POODLE: Disabling SSLv3 in Apache [closed]

Everybody seems to be talking about the POODLE vulnerability today. And everybody recommends disabling SSLv3 in Apache using the following configuration directive: SSLProtocol All -SSLv2 -SSLv3 ...
2
votes
1answer
1k views

Disable SSLv3 in Apache2 on a clean install of ubuntu 14.04.1 Server

I have a new install of ubuntu server version 14.04.1 I have apache2 with SSL enabled. I want to disable SSLv3 (I am aware this is a popular question but I have trawlled all other answers on multiple ...
0
votes
0answers
15 views

Different php versions in ubuntu after installing one php

I've installed php 5.5.17 by downloading tar file and following steps of ./configure and make and make install. Then I installed some apache and php modules. When I search php -v in terminal it shows ...
0
votes
0answers
103 views

php-gd is not working

I'm running Ubuntu 14.04 with php 5.5.9 and i keep getting this message Fatal error: Call to undefined function imagecreatefromjpeg() I've tried everything possible from reinstalling php5-gd, ...
0
votes
1answer
47 views

What is my phpmyadmin's url?

I'm a newbie with linux ubuntu and phpmyadmin. I had an url to access phpmyadmin thru the webbrowser, but since i did not use it for like a year now, i can't remember the url. I believe it was ...
0
votes
2answers
333 views

How to configure apache2 with symbolic links in /var/www/?

I want to setup a local web server on my Ubuntu (14.04). So I installed all software to get a LAMP server. The problem is that I do something wrong with creating my virtualhosts. I wanted to create ...