0
votes
0answers
3 views

iptable rules on apache2 against UDP flood

What are the iptable rules to establish on apache2 web server to prevent UDP flooding attack? I appreciate any help ASAP! Thanks
0
votes
3answers
31 views

Unable to connect to webserver from outside [duplicate]

I set up my website und my webserver but I'm facing the problem that the website cannot be opened from the internet. I'm using Ubuntu server 12.04 with Apache 2.2 (I believe). This is what I checked ...
0
votes
1answer
61 views

Ubuntu Server 12.04 Apache httpd 2.2.22 mod_rewrite not working

I am trying to set up a distributed web farm using apache2. Before deploying the configuration to my other 3 servers, I wanted to get everything to work on the first one (designated P-WEB-01) at ...
0
votes
0answers
20 views

Apache 2 with Domain Server not found

i have a domain at nitrado.net and put the * and @ wildcard to a vservers ip. on the vserver is apache2 etc installed. it worked before 2-3 minutes but i had to reinstall apache2 and now, when i acces ...
0
votes
0answers
53 views

Ubuntu 14.04 server; permissions being reset

For some reason about once or twice everyday the permissions of my files in /var/www are changed from 755 to something else that forbids public viewing from the web broswer. I have no idea why web ...
0
votes
1answer
211 views

apache alias not working

I defined the following alias Alias /static/images /images However when I browse to localhost/myweb/static/images I am getting: Not Found The requested URL /myweb/static/images was not ...
1
vote
1answer
69 views

setting up apache2 webserver — differences between behaviour within my intranet and outside

I am new to apache2. I have an ubuntu 12.04.4 LTS machine in my home, and just installed apache2 on it. I wanted to set up a webserver running on a port other than port 80 (my router uses port 80). ...
0
votes
1answer
34 views

Cannot view default site from local network

Not sure what i have done but now when I put in my servers IP address it is no longer loading the default index.html that comes with it. I think I did this when trying to learn how to add multiple ...
1
vote
1answer
118 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
64 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
213 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
581 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
26 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
79 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
412 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
75 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
81 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
124 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
699 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
119 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 ...
25
votes
5answers
3k 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
50 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
210 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
4k 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
166 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
5k 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
166 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
236 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
4k 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
2k 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
81 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
2k 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 ...
0
votes
1answer
50 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
491 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
70 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
648 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 ...
1
vote
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
2k 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
608 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
294 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
252 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
402 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
145 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
5k 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 ...
5
votes
1answer
366 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
172 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
225 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
88 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, ...