Apache2.4 Ubuntu: Virtualhost redirects to localhost [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question I wanted to set up a virtualhost for my apache2 running on my computer. So when I browse to: “invision.jan.pcsg” I get the … Read more

How can I redirect traffic transparently from one IP to another?

I would like to redirect all incoming traffic on port 1111, to another server again on port 1111, serving as a transparent proxy. After googling around, I’ve tried using iptables, but it does not work as expected. root@glider:~# sysctl net.ipv4.ip_forward=1 net.ipv4.ip_forward = 1 root@glider:~# iptables -t nat -A PREROUTING -p tcp –dport 1111 -j DNAT … Read more

400 “bad request” after tomcat installation on kubuntu

I’ve installed Tomcat 6.0.18 on my kubuntu machine following this guide but I got a 400 response when I try to reach http://127.0.0.1:8080 I also try to install it on a different PC with Ubuntu and everything was ok… Any clue??? Answer Do you have a proxy configured for your Kubuntu machine? If so, does … Read more

playing with ip route to connect to VPN and lost local internet

I’m following this tutorial about openVPN, every goes good until this following step on client (just before autostart section from wiki): # ip route add VPNSERVER_IP via LOCALGATEWAY_IP dev eth0 proto static # ip route change default via 10.9.8.5 dev tun0 proto static //client tun0 10.9.8.5 I’m losing internet after 2nd line. And I really … Read more

yum in CentOS 6.9 VM insists on using ipv6 mirrors after mangling with iptables in host machine

I am learning to handle iptables when but I had to port forward over a NAT host machine to a server on a VM running CentOS 6.9. Host machine is running Kubuntu 18.04. After trying some iptable rules and ufw (which I promptly disabled after), yum on the VM insists on picking ipv6 mirrors. I … Read more

Allow to kill mounhelper to all users

I have some machines with kubuntu 20lts, everyday when the machine start and the user’s login, smb4k mount shares. But sometimes some shadows didn’t mount because mountheper hungs. I need to allow all users to execute the kill command in a bash script to remote them All shares My /etc/sudoers is ALL ALL=NOPASSWD: /use/bin/kill But … Read more

while trying to view phpinfo.php, I get a prompt for download

I tried: sudo apt-get –purge remove php5-common sudo apt-get install php5 phpmyadmin sudo a2enmod php5 adding Servername localhost to /etc/apache2/conf.d/fqdn Apache isn’t recognizing php (instead prompting for download). How to make it correctly execute php? Answer Missing AddHandler for .php? AttributionSource : Link , Question Author : Delirium tremens , Answer Author : 3molo

SSH server wont start before GUI login om Kubuntu 18.04 [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 1 year ago. Improve this question I have tried all the steps in https://askubuntu.com/questions/3913/start-ssh-server-on-boot to no avail. I want to be able to login via SSH on my tablet … Read more

Problematic Wireless connection manager in Kubuntu 9.04

I’ve recently upgraded my Kubuntu installation to 9.04 and somehow the wireless manager is not working any more. I believe it is the official bug mentioned in this article. Have any of you encountered this and have a solution? As a workaround I started using WICD, and I quite like it, but I would look … Read more