Debian Configuration :: Editing / Etc / Hosts File To Make Website Loopback

Sep 6, 2010

I am trying something a bit tricky.Suppose there is a website URL...Now suppose when i open a file /var/www/ test.php which connects to the above website to gather some info and then allow me to further in the process, i want it to instead direct to a file say /var/www/test_done.php.How do i edit my hosts file for such a scenario? Is there any other better option than using a hosts file ?

View 1 Replies


ADVERTISEMENT

General :: Save Changes After Editing Vi /etc/hosts?

Jul 28, 2010

I am doing a Linux installation. I installed the system fine and am trying to change the vi /etc/hosts file. I have edited the file but am not sure how to save it. I have --INSERT-- showing at the bottom.

View 2 Replies View Related

Debian Configuration :: Apache Virtual Hosts And Ssl - Not Yet Supported

Mar 4, 2010

I'm having trouble implementing SSL on a AvantFax login screen. I've created the the certificates and keys and have them stored in /etc/apache2/ssl and I'm sort of stuck now. I've been following a guide but any changes to the conf files leads to errors. The system I'm using is Debian 5.0

[Code]...

View 2 Replies View Related

Debian Configuration :: Bridge Network - Two Virtual Hosts?

Apr 1, 2011

I have a debian squeeze box with dual NICs that I'm trying to configure with two virtual hosts. I'd like to have one of these machines act as a router for the 2nd NIC so I can plug in a switch and have a separate subnet.

Something like:
- Openwrt router 192.168.1.1 (firewall/vpn/stats for 192.168.1.0/24 domain)
- KVM machine with 2 NICs (192.168.1.2)
- Virtual machine #1 has a fixed IP of 192.168.1.3 (virtual nic)
- Virtual machine #2 has a fixed IP of 192.168.1.4 (virtual nic) but also controls the 2nd nic and routes 192.168.80.0/24

I'd like to use the 192.168.80.0/24 network for testing equipment without poisoning my existing network.

View 2 Replies View Related

Debian Configuration :: Apache Directory Alias Leaking Into Virtual Hosts

Sep 14, 2015

I don't know if this should be a followup to my prior topic [URL] ....

Each of the pieces I've installed all have an "Alias" directive in the conf file to link the directory where they live to be present on my server. For instance, DotClear lives in /usr/share/dotclear/web/ and there is a directive

Code: Select allAlias /dotclear /usr/share/dotclear/web
that directs http://myserver/dotclear to that site.

Now, I've set up VirtualHost entries for my DotClear and Owncloud with their own hostnames.

Code: Select all<VirtualHost *:443>
   ServerName          myowndotclear.com
   ServerAlias         www.myowndotclear.com
   DocumentRoot        /usr/share/dotclear/web

[Code] ....

Something similar for Owncloud.

The problem is when I go to [URL] ...., I get to my mythweb site.

This is not so good. So, for the sites that have their own hostnames, I removed the "Alias ..." directive. Of course, now I can't get to the hosts by going to the primary site which is probably fine, but I also still get my mythweb since that doesn't have it's own virtualhost entry.

This doesn't seem like correct behavior. Is there a better place to put the "Alias ..." directive so that it only works from one site and not all of them?

I am also thinking I should just link the directories into /var/www/html, but I'm not sure that's a better solution.

View 2 Replies View Related

Debian Configuration :: Both HTTP And HTTPS On Same Server? (Apache Virtual Hosts)

Oct 30, 2015

How to best manage both http and https pages on the same apache-server without conflicts. For example, if i have both 000-default.conf and 000-default-ssl.conf pointing to mydomain.com, and don't want users who visit mydomain.com without specifically type the https-prefix to be redirected to the https-page - how to handle users using browserplugins such as https-everywhere etc?

Another option would be to create a subdomain ssl.mudomain.com and have users who want to reach the ssl site to have to type ssl. I have tested several things with https everywhere enabled in my own browser, and it seems really hard to make this working the way i want, in one way or another i always end up getting redirected to the ssl-site automatically.

The reason i need this to work is because i run one site that i don't care much about SSL, that is the "official" part of that site, and i also host some things for friends and family on the SSL-part. This would not have been a problem if it wasn't that i use self-signed certificates for my ssl-site and the major user become afraid when a certificate-warning pops up in their browser and therefor leave the site.

View 2 Replies View Related

Security :: Use Current /etc/hosts File To Do An Ssh-keyscan Instead Of Making A Special List Of Hosts?

May 2, 2011

I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?

View 2 Replies View Related

Debian Configuration :: Routng Traffic To A Website Via A Specific Interface

Jul 30, 2011

I am running Debian Squeeze on an old pc (AMD K62-500) which serves as my multiwan router and torrent box. Internet uplink is provided via a dsl line and 2 wireless canopy modules.

Setup has been generally fine except when connecting/downloading as free user from sites like rapidshare, hotfile, filesonic, etc. The problem arises when I am connected to these sites using the wireless uplinks because of the shared public ip. I don't really download that much using direct download methods so I don't really see myself being a premium user from these sites.

If these sites are on a specific ip or ip range, an entry on the static routing table would have been fine but when I tried using ping, a different ip would appear to reply each time.

I wonder if there can be a solution like using iptables where in traffic to and from these sites will only use the NIC connected to the dsl line.

View 1 Replies View Related

Ubuntu :: No Hosts File - Just Hosts.allow And .deny?

Jan 26, 2011

Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?

View 1 Replies View Related

Networking :: Ipv6 Loopback Configuration

Feb 15, 2011

I have a server application that uses loopback addresses to open servers on linux machine.

For IPv4 with one line of configuration I can open many servers according to the mask I use for example with 10.10.10.0/24 I can open 254 servers.

How can I do the same for IPv6 ? I am able to add loopback interfaces but only for one host. Is it possible to add for a subnet ?

If not what is the max number of addresses that I can add ?

I also saw that it add the address only to loopback lo and I can add it to lo:3 for example.

View 1 Replies View Related

Debian :: Editing A Pdf File-SOLVED

Jul 20, 2011

I had/have an old program which works on XP called PaperPort. It allows me to edit and fill in blank forms. I have been searching for something like that for Linux, and to date found nothing, Chances are that I am looking in the wrong places.

View 2 Replies View Related

Networking :: Will Bringing Down Loopback Interface Make Whole Server To Go Down?

Dec 14, 2010

I have a client's linux server where someone added a script which sends spam mails from the server's local loopback address (127.0.0.1) all my seniors worked on it and couldn't trace the script on the server this issue was going for a week, now I have an idea to bring down the loopback interface of that particular server(ya, that was not a permanent solution but just had an idea), but my support manager told that it will bring the whole server down(so far as i have learn't loopback address is used only for testing the NIC card's functionality), is that really bring the server down.?. How ever i tried this using a test machine all the connections works fine even after i bring down the loopback interface. As my client's server is a production server i can't test it there without clear knowledge, can any one help me out whether will it bring down the server or will it cause any side effects on it(i know that you guys are experts so i am asking it here)?

View 5 Replies View Related

Debian Configuration :: How To Send Make Equivalents To Make-kpkg

Mar 26, 2016

I build and use a custom kernel, and use the nvidia driver. This is on debian stretch.

By default, I build the image and headers packages with this line:

CONCURRENCY_LEVEL=8 nice -n19 ionice -c3 fakeroot make-kpkg --initrd --append-to-version=-something --revision=1 kernel_image kernel_headers

These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.

View 0 Replies View Related

General :: Editing A File As Root In Debian

Mar 16, 2010

But any changes I make cannot be saved unless I'm in root. I might be doing this wrong, but I cannot log into root or figure out how to open this file as the root user. I'm still somewhat new to Linux, so could someone please give me an idiot-friendly step-by-step of what to do to open, edit, and save this file as a root user?

View 3 Replies View Related

Debian :: Installing A .deb File Directly From Website?

Dec 15, 2010

When i go top and click on the link to download/install de debian-multimedia-keyring, a pop-up windows appears with the choice to open the file with file-roller. But i want to open it with aptitude to get it installed.i missing something? How can i setup Iceweasel to make sure the next time .deb files can be installed directly from the source website

View 2 Replies View Related

Debian Configuration :: Make Boot Partition Within LVM In Debian Usin Preseed?

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.

### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk

[code]....

View 1 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Debian Configuration :: Apt Wants To Remove Make?

Oct 18, 2010

For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?

View 4 Replies View Related

Debian :: Make An Image Of Configuration For Install From It?

Aug 27, 2010

I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.

View 2 Replies View Related

Debian Configuration :: Network Manager - Can't Make Changes

Nov 28, 2015

It seems that my network manager may be running in root mode...

For instance in network connections, edit and delete are greyed out. if i click add, i am unable to enter any details. if i run nm-connection-editor as root i am able to make changes.

How can i set it that the normal user can make changes? [managed is set to true in the conf file]

View 6 Replies View Related

Debian Configuration :: How To Make My Box Into A Wireless Repeater

May 19, 2011

I have a wireless router in my room and when people use their WiFi devices in the living room the signal is very weak and really slow, i have a Debian box in the living room that i would like to use as a wireless repeater. i want it to receive the wireless signal from my router and transmit an AP that resembles the one being transmitted by the router is this possible, and how can it be done

View 9 Replies View Related

Debian Configuration :: Make Modprobe Look Into The Right Directory?

Jun 28, 2011

I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?

View 4 Replies View Related

Debian Configuration :: No Rule To Make Target Modules

Sep 17, 2015

i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error

Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build'
make: *** No rule to make target `modules'.  Stop.
make: Leaving directory `/lib/modules/2.6.32-5-686/build'

i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.

View 2 Replies View Related

Debian Configuration :: Wireless Won't Make Connection After Upgrade?

May 15, 2010

I have a Dell Mini 9 with a Broadcom wireless adapter. I've had it working for months on Debian Sid, but recently I updated the entire OS to get KDE 4.4 (I also went from a 2.6.30 to a 2.6.32 kernel). Something in that upgrade caused wireless to cease to work properly. The problem is similar to the one described in this thread, but no resolution is mentioned there: viewtopic.php?f=5&t=50892 I've gone through all the steps to install the STA drivers/wl module for it, and it basically appears to be working. Using wicd, I can see all the wireless networks in the area.

The problem occurs when trying to connect. When I try to connect to my WPA wireless network, it eventually fails claiming a bad password. When I turned the wireless network into an unsecured network, it eventually fails claiming it's unable to get an IP. I've also tried at the command line with wpa_supplicant and it initially appears to work but in fact it hasn't. I've also got Kubuntu 10.04 installed on this machine, and it can connect without issue (using the proprietary driver that Ubuntu's hardware driver manager allows one to use).Does anyone know what has caused this? I even tried the earlier kernel, so that's not it.

View 1 Replies View Related

Debian Configuration :: Can Make Openvpn Faster Like Rsync

Oct 22, 2010

I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?

View 8 Replies View Related

Debian Configuration :: Make Xterm To Use Trurtype Fonts?

Apr 4, 2011

How can I make xterm to use truetype fonts by default,out setting it every time i start it?

View 1 Replies View Related

Debian Configuration :: Make MenuConfig Cannot Find Makefile

May 23, 2011

Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:

make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'.  Stop.
make[2]: *** [scripts_basic] Error 2

Suspect I need another package in addition to linux-headers.
Running Squeeze, amd64, KDE.

View 7 Replies View Related

Debian Configuration :: Torrent Traffic Very Slow / Make It Up?

Jul 10, 2011

I am running on debian squeeze 6.0.2. I have been using it for the last id say 3 weeks and really am enjoying it.

I generally use transmission-gtk to share files over the internet. Normally I seed torrents at 110-160kb/s for hours at a time. However after messing around with firestarter my upload speed for seeding torrents rarely peaks over 70kb/s. I have purged firestarter with no success of my regular upload speed, and am very confused as to what happened. I also notice sometimes when it will get to about 70kb/s it will immediately drop down to the 20-30kb/s range.

For incoming bittorrent connections I use port 37294. I have set port 37294 to be allowed in my firewall, and forwarded in my router (since purging firestarter did not help I just reinstalled it).

I have also read allowing ports 6881-6889 is important, but I have never done that in my history of using torrents, and I have never experienced a decrease in UL speed like this.

Have I done something incorrect? I have never had this issue on other machines?

View 2 Replies View Related

Debian Hardware :: Creative X-Fi Titanium HD Sound Loopback

Oct 25, 2014

I am trying to get my soundcard, Creative X-Fi Titanium HD, on my new Debian Jessie Beta 2 installation working. I can hear sound from the speakers and sound is getting recorded from my mic, but the output is somewhat connected to the input. I had the issue on my Windows installation and had to turn it down in my soundcard settings. But after playing around in alsamixer and trying to switch inputs and turning down/up the volume on different channels, I had no success fixing the issue.

Link to my alsa-info: [URL] ....

View 3 Replies View Related

Debian Configuration :: Make Fn Keys Work Independently Of Environment

Jan 5, 2016

I want fn* keys working for all users in all DE/WM and at tty too. I want it even if nobody logged in. Is it possible? How to set it up?

I mean these keys:

toggle wifikbd backlight +/−screen backlight +/−enable/disable screentoggle screensenable/disable touchpadvolume controls

I understand that some of them may work only with Xorg (e.g. toggle screens), but screen and kbd backlight and volume may work at tty too (because I can change this from tty when xorg is down). I know how to do it all from the console, but I want to bind keys with actions.

E.g. I can change kbd backlight with dbus and attach this action to key in my wm config, but it is not what I want. I want to make it global. I don’t understand which layer may provide the functionality for all users. Now only two keys works as I expect: toggle wifi and toggle touchpad. I haven’t set it up, it works out of the box.

Asus N56VZ, Debian stretch.
Code: Select alluname -a
Linux isquabook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved