1
vote
1answer
38 views

Why apache2 service doesn't work? [closed]

I am trying to install apache2 web server on ubuntu 10.10 as a beginner, but I don't have access to the repositories in the application center. So I try to download the source package of apache2 and ...
0
votes
0answers
18 views

Shellinabox with Apache

I want to run Shellinabox on the same port 80(/443) as my Apache server. I was following this tutorial. But I can't get it to work... When I go to http://ip/shell it doesn't work. But when I go ...
0
votes
1answer
41 views

Subdomains with Apache2

I having trouble getting my first subdomain to work with apache2. My primary domain is setup in 000-default.conf as <VirtualHost example.org:80> ServerName www.example.org ...
0
votes
0answers
304 views

Ubuntu 13.10 install php-fpm with apache 2.4

I tried multiple tutorials on how to install php-fpm (cgi) with apache2. None of them worked with 13.10. I even installed ubuntu completly new after each one. This is one for example: How to configure ...
0
votes
0answers
24 views

Implement HTTPS access for phpmyadmin in Ubuntu webserver

This isn't directly Ubuntu question but more of an APACHE2 question. My Ubuntu webserver was recently scanned by a web application inspection program where it checks for any vulnerability in my ...
2
votes
3answers
46 views

Where to find default/ test page for Apache2

I have a VPS running Ubuntu 13.10 and has an Apache2 website, and whenever I go to the VPS's IP http://5.231.37.8 ,I get the default/test page for Apache instead of my website located in /var/www. ...
0
votes
1answer
289 views

Ubuntu 12.04, Php5-fpm, Apache2, Postfix: impossible to send a mail with PHP

Resources I followed I followed several howtos and questions on askubuntu: https://help.ubuntu.com/community/Postfix How to configure apache / php / postfix website emails when using vhosts? ...
0
votes
0answers
41 views

configure Lighttpd to download some files and to open other files in browser

I have a plain/text file "getNodeId" I want to display its contents on web browser, so I use mimetype.assign = ("" => "text/plain", "text" => "text/plain" ...
2
votes
1answer
35 views

How do I find userdir directives

Where do I find the userdir directives from apache2? They aren't in /etc/apache2/extra/httpd-userdir.conf.
0
votes
3answers
97 views

Apache could not access to copied folder: 403 Access Forbidden

I'm new to Ubuntu. I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www it is not accessible via URL. I have tried following commands: sudo cp -r Desktop/site ...
0
votes
0answers
403 views

Resolving XAMPP Error 403 on Ubuntu While Setting VirtualHost

Okay, I give in. I need help before this thing drives me nuts. I run Apache 2.4.4 with XAMPP. I have an existing site that was working correctly on www.firstdoman.com before I configured virtualhost. ...
0
votes
0answers
83 views

accessing a domain hosted on virtualbox

I've virtualbox installed on my ubuntu desktop. In my virtualbox I have windows XP pro installed as guest with wampserver & on it I have a named virtualhost which I can access from windows XP but ...
21
votes
5answers
999 views

How to easily start a webserver in any folder?

I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching). I often try out new things like JS frameworks or so ...
0
votes
1answer
42 views

What is the `ServerName` attribute for apache2 and what does it do?

I do not know what this config setting means. Does it mean that it registers a domain name? Is it like DNS? Here is what I have for my apache2 default config ServerName staugie.org ...
0
votes
0answers
115 views

Error 403 When Accessing FCGI Files / Apache

I have installed Apache & mod_fcgid trough the following command sequence: sudo apt-get install apache2 sudo apt-get install libfcgi-dev I than placed my compiled index.fcgi file into the web ...
1
vote
2answers
3k views

Host two separate web servers on the same IP

I currently have a Ubuntu web server with Apache setup and running wonderfully, I want to do two things, I want to setup two more boxes which would be on the same WAN address but of course have ...
0
votes
1answer
130 views

what is the nginx equivalent command apache has for a2enmod?

I'm following this guide: How to Setup OwnCloud Server 5 with SSL Connection Problem though is that the guide is for apache but I am using nginx for my server. As such I am trying to "reverse ...
2
votes
1answer
3k views

How do I apply a security update to apache

I have been running some penetration tests against our webserver and it's come up with a few issues. One of them is that apache needs a security update (http://www.ubuntu.com/usn/usn-1765-1/). I am ...
0
votes
1answer
145 views

Apache Install can't browse to localhost

First time setting up Apache, using Ubuntu server 12.04.02 I am using this guide: https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu Seems ...
0
votes
1answer
194 views

Do you need a .conf file in /etc/apache2 folder to run your website?

I am still trying to make it work, there are different tutorials for the same setup. this tutorial says that you have to create a config file. apache2 web server But normally you don't need that i ...
0
votes
2answers
2k views

What Steps are need to host a Website on Ubuntu using Apache2?

I successfully run one website on apache2 using a tutorial. My second website, I can't reach locally, and I don't know why. Here are the steps I follow : copy my website to folder /data/mywebsite ...
1
vote
2answers
1k views

How to make php webpage to access the file in /root directory?

I am using Linux 12.04,apache and php is installed on it.I want to access a text file in /root/ folder.I am really confused with the permissions.The php script i m using <?php $file = ...
0
votes
1answer
72 views

List stored files using HTTP

I'm new to ubuntu and linux based OS:s and I wonder if someone know a program or a way to list all the files in a folder on my server when Im using a webrowser and visiting the Ubuntu server. Almost ...
1
vote
2answers
1k views

Permission denied while writing a file in var/www inspite of adding me to user group

I gave permissions to read and write files in /var/www to the working user(me) through the steps given in Whats the simplest way to edit and add files to “/var/www”?. It works fine when I try to ...
1
vote
1answer
3k views

failed to start apache2 gracefully

Here is a new installation of apache2 on a Ubuntu 12.04 machine (home user) I am trying to start the service apache2 after creating a file in sites-available directory and enabling the website I am ...
-1
votes
0answers
82 views

Migrate spanned volume and File, Web, Application services/roles to Ubuntu Server

4 or so client laptops running various flavors of Windows 7; mix of Home Premium, Professional, and Enterprise, some 32 some 64 bit. 1 gently aged engineering workstation, currently running Windows ...
0
votes
0answers
139 views

Web root permissions: Allow a group to edit and forbid others to see the files

I am setting up Apache hosting multiple sub-domains with different developers. There is a folder for each sub-domain, and I want to have a group that is able to write and edit these files (developer ...
0
votes
1answer
45 views

php-in-homedirs

I am trying to get php to work in user's public_html folder using the instructions found at: https://wiki.ubuntu.com/UserDirectoryPHP If I follow the first part and comment out the IfModule lines in ...
0
votes
1answer
369 views

I can't run apache (ubuntu server)

I can't run apache (ubuntu server) This is my output in terminal: root@srv etc/init.d/apache2 start * Starting web server apache2 ...
0
votes
1answer
67 views

Taking out my Subdirectory from my URL

I am hosting my own site..... Lets call it www.mysite.com. It is an online store, and I am using Apache2, and the Magento Community 1.7 Platform. I had an "Under Construction" page set in ...
1
vote
1answer
2k views

Trouble configuring Apache virtual hosts in ubuntu server 12.04

OS: Ubuntu 12.04.2 Updated to the latest and greatest SO here's what I've don so far: cd /etc/apache2/sites-available sudo nano mysite Inside this file I've written the following definition: ...
2
votes
1answer
534 views

Help needed to fix security issues discovered using Nikto on Ubuntu server 12.10

What can be done to mitigate theses security issues found by Nikto on all our Ubuntu servers version 12.10? OSVDB-2799: /cgi-915/dose.pl?daily&somefile.txt&|ls|: DailyDose 1.1 is vulnerable ...
0
votes
1answer
2k views

ssl only specify website

I already made a SSL certificate for my server, but can I use the SSL only for specific website. For example inside /var/www I have a lot web folder and I want the "A" website used HTTPS and the ...
1
vote
2answers
1k views

Running a web test server with Ubuntu

I have typically used XAMPP on my windows PC for web development testing. This afternoon I plan to add LAMP to my Ubuntu. I would also like to try and install Apache Tomcat but I am not familiar if ...
0
votes
2answers
490 views

How to fix a permissions problem on www folder?

I have created a directory in my www folder using terminal and root user. Then, create some text files in that folder (with terminal and root user). Now, when I want to access these files and ...
0
votes
2answers
240 views

Error 504 while accessing a php page from Internet

I'm trying to access to a test website from Internet but I mostly get 504 errors. Any php pages take long time to show, when they show. My web server is an Ubuntu Server 12.10 on a virtual machine ...
0
votes
3answers
228 views

Getting a LAMP server secured and locked down for development

I'm turning my VPS into a development server which will hold development copies of all my websites, controlled by git. Of course, I installed the LAMP server so I can test them. I've already ...
0
votes
1answer
323 views

multiple rails applications on same host name with different folders

When i ssh to amazon ec2, then pwd /home/ubuntu ls app_1 app_2 app_3 app_4 Considering i have mapped my ec2-122** address to some apps.site1.com How can i have multiple rails applications ...
2
votes
3answers
141 views

Best solution for a team home server

I created a home server with Ubuntu 12.04 Server (using an old Netbook with an Atom CPU and 512Mb). The idea is just to be used for a small team (maximum 10 persons) that will have constant access by ...
1
vote
1answer
4k views

ubuntu apache2 start, stop, status, restart and reload commands fails

Hi, I am new to Ubuntu and I'm still trying to figure this OS out (for work it's brilliant, better than Windows). Before I wrote this question, I did my research via Google, this website and even in ...
0
votes
0answers
150 views

Temporary web server?

I am a web developer and sometimes find the need to be able to access my local Apache web server instance on Ubuntu 12.04 from another device such as a phone or tablet in order to test it. ...
5
votes
1answer
320 views

How would I broadcast a subdomain/virtual name on a local server with people connected to the same network

I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this: /var/www -- this isnt the root -/libs -/logs ...
2
votes
1answer
148 views

Can SELinux Affect Apache

Can SELinux, in any way, cause Apache to only store web-site files on one partition? I'm unable to set up a localhost HTTP server with apache using html files that are on another mounted partition. ...
0
votes
1answer
217 views

How to make web-server address into dns?

I'm using apache webserver on ubuntu base o/s. I want to change the web-server hostname to lets says xyz.compnayname.com.uk. The virtual machine that runs the web-server is stand-alone machine not ...
0
votes
1answer
87 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, ...
-1
votes
1answer
157 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
2k 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 ...
3
votes
1answer
3k views

How do I test virtual hosts in Apache before I buy the domains?

Is it possible to setup an Apache virtual host without a domain name, I just want to use my IP to test my website until I get a domain name. Examples in Apache documenation only seem to have domain ...
1
vote
1answer
349 views

Creating physical folders and FTP account with bindings in Apache2

Our client wants 2 subdomains creating: mobile.website.co.uk 5thbirthday.website.co.uk I did this on the DNS server pointing them to the IP where the website was hosted. I then SSH into the Linux ...
0
votes
1answer
131 views

What is the safe way to run apache

I installed apache according to the description given here. I want to know what is the safe way to run Apache that means , it is impossible to run Apache without using sudo, I want to know whether ...