Debian :: Enabling HTAccess In Apache2 For Lenny

Aug 25, 2011

My distro is Lenny. I am struggling with trying to enable .htaccess files. I followed a ubuntu tutorial that did not work at all. How do I enable .htaccess files in all apache2 directories for Debian 5.0 Lenny?

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache2 - HTAccess Will Not Work

Feb 9, 2010

I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.

View 2 Replies View Related

Ubuntu Servers :: HTAccess Stopped Working For 301 Apache2

Apr 29, 2010

I am not sure what happened, but my .htaccess file is no longer working for my 301 redirects. I did have a hard time getting it working a few weeks back (when I first set it up), unfortunately I did not document it well. Main question is for multiple sites getting redirected, do I want the additional sites listed as aliases? My original setup virtual host config listed seven additional hostnames as aliases.

I later had difficulty with google listing these secondary domains within search result and hurting my page rank. So I setup 301 redirects, and from memory, I had to leave the alias names for the .htacces 301 redirect to work. Now it won't work either way. Can anyone tell me if the aliases need to be in place? Do I need to setup individual vhost files and add an .htacces 301 for each? What is the preferred way to do this? I tried reloading apache2 but it did not help.

Permissions for .htacces:
Code:
-rwxr-xr-x 1 eric www-data 866 2010-04-14 12:06 .htaccess
Attaced is my .htaccess. It resides in the site root directory. Also attached is the virtual host config file.
httpd.conf

Code:
NameVirtualHost *
NameVirtualHost *:443
AddHandler cgi-script .pl
RewriteEngine On

I'm still not sure after hours of reading the various how-to's, what should the file permissions be for the .htaccess. I have not performed any updates during the period it was working till now.

View 2 Replies View Related

Ubuntu Servers :: Apache2 Sites-enabled Not Enabling?

Apr 14, 2010

So I am trying to add some sites to my server, right now I have an active site at www2.site.tld. As a test, I copied [URL]to [URL], and changed only the line

ServerName www2.site.tld

to

ServerName what.site.tld

as well as renaming the lines for the log files appropriately then

# a2ensite what.site.tld
# /etc/init.d/apache2 restart

which by everything I have read should result in what.site.tld being identical to www.site.tld. Instead, it flat-out does not resolve. Apache does create some blank log files in /var/www/

View 1 Replies View Related

Fedora Servers :: Good Guide To Enabling Https On Apache2?

Dec 28, 2009

I've got a basic apache2 setup running w/ multiple virtual hosts, would like to try SSL (i.e. https).

I've got the IP networking side well and truly sorted but I need guidance on the apache/ssl config side. I have installed mod_ssl.

Does anyone have a good guide for Fedora that's recent? All I can find are ubuntu and old fedora 'core' guides, so not sure how much applies to F12. The best ones I can find so far is

https://help.ubuntu.com/community/fo...er/apache2/SSL

http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html

View 7 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

General :: Debian Lenny : How To Install Xfce 4.6 Instead Of Lenny's 4.4

Dec 14, 2009

i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but.My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again.

I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.

i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated).

View 14 Replies View Related

Debian :: .htaccess And Wordpress Getting 404 Error

May 17, 2010

I run Debian 5.4 with ISP Manager as CP. I put a .htaccess in the root directory of my wordpress blog. The content of the .htaccess is:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f

[Code]....

But after I created a static page and change permalinks in wordpress with anything other than standard I get a browser 404 error (not 404 error with template).
Location of the blog content that is shown in CP: /var/www/sorin/data/sitename.ro Only the index of the blog is loading. What can I do? I have Debian up-to-date.

View 1 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Enabling Autologin In LXDE Not Working

Nov 30, 2015

I'm running Debian + LXDE in a VirtualBox. Here are the details:

Code: Select all➜  ~  hostnamectl
   Static hostname: debian64
         Icon name: computer-vm
           Chassis: vm
        Machine ID: #############################
           Boot ID: ###########################
    Virtualization: kvm
  Operating System: Debian GNU/Linux stretch/sid
            Kernel: Linux 4.2.0-1-amd64
      Architecture: x86-64

I really would like to jump into my desktop environment when I start my machine without the need to enter my user name and password. Apparently this is very easy to do. I added the following lines to my /etc/lightdm/lightdm.conf

Code: Select allpam-service=lightdm
pam-autologin-service=lightdm-autologin
autologin-user=username
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession

And also added my user to the autologin group

Code: Select allgroupadd -r autologin
gpasswd -a username autologin

As you can imagine, it didn't work. Otherwise I wouldn't be here... I also tried to install Slim and enable autologin adding the following line to the /etc/slim.conf

Code: Select allauto_login = yes

That didn't work either!

Am I missing anything? Enabling autologin in LXDE?

View 6 Replies View Related

Debian :: Enabling Cryptsetup In Initrd Img Manually

Dec 1, 2015

I have encountered a bug in the live-build in Debian Live. The persistence does not work it is because of the bug #767195. I cannot recreate another live img file because of bandwidth problem, is there any way to repack the initrd and enable the cryptsetup?

as per suggested:
#767195 – cryptsetup needs to be enabled for initramfs inclusion – Debian Bug report logs
On Wed, Oct 29, 2014 @ 18:09, Evgeni Golov <evgeni@grml.org> wrote:
....
Edit: Line 77 -79 @
# nano /usr/lib/live/build/chroot_hacks

[Code] ....

View 0 Replies View Related

Hardware :: Enabling Second PCI Network Card On Debian

Oct 13, 2010

I have a dell optiplex configured with an extra PCI network card, because I plan to set it up as a gateway / LTSP server, but I have troubles getting the second network card to work. It is recognized during installation (where I can choose the primary network interface) and doing a

Code:
lshw -class network

After installation shows both network cards, with network 0 being labeled Disabled. I have tried configuring the other network interface in the /etc/network/interfaces file, but it has failed to work. I have also briefly looked at udev rules, but it seems that it renames the interfaces fine during bootup, as

Code:
dmesg | grep "udev"
Shows the following
Code:
[1.138307] udev: starting version 160
[6.003002] udev: starting version 160
[7.237092] udev: renamed network interface eth1 to ethlokal
[7.253775] udev: renamed network interface eth0 to eth1

I also noticed a briefly shown "address collision" error of some sort during boot, but it never shown for long enough for me to read it through. The network card that is enabled is an Intel 825662EZ 10/100 ethernet controller, and the one that is disabled is a Realtek RTL-8139/8139C+.

View 7 Replies View Related

Debian Configuration :: Enabling Persistent Logs With Systemd

Dec 1, 2015

How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?

For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.

So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian

Code: Select allEnabling persistent logging in journald
=======================================

To enable persistent logging, create /var/log/journal and set up proper permissions:

install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal

and here [URL] ....

There are two main reasons why I decided to not enable persistent logging just yet ....

We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.

We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.

View 3 Replies View Related

Debian Hardware :: Enabling A Pointing Stick On Laptop

Jun 3, 2015

I have a Dell Latitude D400 laptop running Wheezy (I can't upgrade to Jesse at the moment) and I want to try out the Pointing Stick on my keyboard. If you Google "Pointing Stick" you can find images of it. It's located in the middle of the "G", "H", and "B" keys. Now it doesn't do squat so I'd like to enable the Pointing Stick. How exactly would I do that?

I'm not looking to use it full time, I just want to play around with it.

View 2 Replies View Related

General :: Enabling GUFW / UFW In Debian - Wrong Identification

May 24, 2011

I have a problem with the unix firewall (gufw). I'm using Linux Mint Debian Edition. The problem appears when I double click on the icon to bring it up for configuring. Everything is grayed out so I click on the "unlock" button. Normally, this is when gufw comes alive with color. But all I get now is a note on the bottom of the gray screen that says "Wrong Identification". Uninstalling and reinstalling UFW and GUFW didn't fix the problem. I would like to have my firewall working for me.

View 3 Replies View Related

Debian :: Installing/enabling The Newest Flash 10 Testing/Squeeze?

Jan 29, 2011

Could someone give me the steps to installing/enabling the newest Flash 10 in Debian Testing/Squeeze?I want to install via the steps one would do from Adobe's website.IT DOES NOT WORK.IT DIDN'T WORK FOR ME.I just want to install the routine way that is usually done in Linux but when I downloaded it, I was asked to extract it and I have no idea where it got extracted to.Can anyone help?I don't mind starting from scratch.I don't remember how to do this method.I'm used to the 'non-free' package in the repo but Flash 10 is no longer working so I want to use the 'sure' method.

View 5 Replies View Related

Debian Installation :: Squeeze In Virtualbox 4 - Enabling Main Repo?

Feb 8, 2011

I installed Squeeze in Virtualbox 4 and I need to enable the main repos for debian after several google searches I gave up. I am sure this isn't the first time this has been asked and I am sure that it is a common question.

View 6 Replies View Related

Debian Hardware :: Enabling Wireless Card Via Command Line?

Sep 14, 2010

I have a netbook and the wireless card on it works fine. Whenever I wake it up after suspending for couple of hours, it seems like the wireless card is not awaking or the drivers are not working properly because I do not see any wireless networks after waking it up(for example in Wicd). If I do fresh restart, the wireless and wireless networks come back at the same place. So I am wondering if it is possible to restart the wireless card or the driver without restarting my netbook

View 13 Replies View Related

General :: Coredumps Don't Work After Enabling Them In /etc/security/limits.conf On Debian

Aug 25, 2011

I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next line:

* hard core 100000 After rebooting, I run ulimit -a and I can see that coredumps are not activated: > root@computer:~# ulimit -a > core file size (blocks, -c) 0 First, I checked if there is any file script on my system that deactivates coredumps (greping ulimit -c 0 ), but I didn't find anything so far.

Then, I created a bogus c program..to double check if it's working, and I can confirm that it's not. The program is this

[Code]...

View 1 Replies View Related

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Debian Configuration :: Save To Install Kernel 2.6.35.2 On Debian Lenny 5.0.5 Or Stick With Automatic Updates

Aug 20, 2010

is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...

View 14 Replies View Related

Debian Configuration :: Adding Compex ReadyLink NIC To Debian Lenny?

Nov 4, 2010

I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).

lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-

1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)

I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-

ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

View 1 Replies View Related

Debian Multimedia :: Error - It Is Perfectly Working With Debian Lenny

Apr 23, 2010

I installed debian etch on my system. Installation done successfully, but when it boots up the X server is not starting and showing error. Note : It is perfectly working with debian lenny. Configuration : Intel DG41RQ ,1GB Ram ,160GB HDD.

View 1 Replies View Related

Debian Multimedia :: Exist Any Repository For Debian Lenny With Games?

Aug 28, 2010

Are exist any repository for debian lenny with games like nexuiz vdrift planeshift etc?

View 2 Replies View Related

Debian :: Could't Find 64bit Debian Lenny OS For Intel Architecture

Dec 18, 2010

I could't find the 64bit Debian Lenny OS for Intel architecture.Hence I have installed amd64 and it is working fine.Does both intel and amd have the same 64 bit OS amd64 ?

View 3 Replies View Related

Debian :: Xorg Screen Resolution To 1366x768 Debian Lenny

Mar 24, 2010

i recently moved away from ubuntu (as they wouldn't let me change my gdm themes lol) i installed lenny usin the net install for ia86 but i cannot change my screen resolution from 1024x768 to my card/monitors native setting of 1366x768 i have included a .txt taken from the benchmark an profile gizmo which i hope rovide any of you with all the info needed (to be honest i don't understand half of it) my laptop is a fujitsu amilo li3710 with dual core, 3gb ram an 160gb hd an a intel gma4500 with shared memory graphics

View 2 Replies View Related

Debian Installation :: Lenovo 3000 Wifi - Press Fn+f8 Twice On Each Boot For Enabling The Touchpad

Jun 2, 2010

I've one lenovo 3000 g430 4152 laptop on which i have windows but previously installed debian 5.03 and for enabling the wireless i've to download broadcom b43legacy and install it by compiling because the backports kernel doesn't work with lenovo and after installing debian accidently switched of the wireless by the slide button on laptop

but on next boot i was not able to enable the wireless either by the slide button or fn+f5 which is the key for enabling it the wireless then on some forum i got advise that i can only re-enable by installing windows because lenovo drivers are available for only windows for this model... my question is that is there any solution for it in debian and also there is one more problem that i've to press fn+f8 twice on each boot for enabling the touchpad...

View 1 Replies View Related

Debian :: Cannot Start Apache2 Up After Shutdown

Aug 16, 2010

Having issues starting my apache up again, This is what i get

Code: Starting web server: apache2[Sun Aug 15 19:19:01 2010] [warn] module auth_basic_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authn_file_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module php5_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module alias_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authz_groupfile_module is already loaded, skipping

[Code].....

View 1 Replies View Related

Debian Installation :: Debian/Lenny On A Clamshell IBook?

May 3, 2010

I'm trying to install Debian/Lenny on a iBook clamshell. I couldn't seem to burn an install CD that the iBook would recognize, so I eventually copied the contents of the CD onto a self-powered USB drive and I can now get the iBook to boot off of that thru open firmware. However, when I get to the Debian installer main menu, it still won't read the CD, and apparently it does not have network drivers to install over Ethernet. Is there any way I can supply a driver for the ethernet interface (lspci reports that its a sun GEM ethernet interface) or somehow convince the installer to install from the content of the USB drive (which is a duplicate of what's on the installer CD)? Heck, if it'd be easier to get the Airport interface running to reach the Internet I'd be up for that too.

View 1 Replies View Related

Debian :: How To Install Flash Player 10 For Debian Lenny?

Apr 14, 2010

I have read tons of articles on how but none work. I have edited the source.list file with what they say and I have used all the terminal commands that are becoming very repetitive.

View 11 Replies View Related







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