Ubuntu Servers :: Url Rewriting Not Working?

Jun 16, 2010

I aleardy set up an url rewriting before, but this time it does not seem to be working.To module is installed and activatedI created an htaccess file in http://localhost/entrepreneur/ contaning the following code:

Code:
Options +FollowSymLinks
RewriteEngine On

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Why Sendmail Would Be Rewriting These Files

Jul 11, 2011

I recently inherited an Ubuntu server where the previous admin had installed sendmail and FCheck IDS.The issue I am encountering is that sendmail appears to be rewriting both /etc/mail/m4/dialup.m4 and /etc/mail/sendmail.cf constantly (at least once per hour).dailup.m4 never seems to change (other then the creation date), while sendmail.cf has the line describing who and when it was built changed.So far I have had no luck tracking down why sendmail would be rewriting these files.

View 2 Replies View Related

Ubuntu Installation :: Rewriting MBR And Then Reloading GRUB2?

Feb 12, 2010

I have to do but wanted to check first before I started messing around with my MBR.

Originally was running XP and installed WUBI 9.10 to play around with Ubuntu before doing a proper install. Got home from work tonight and removed WUBI leaving edited MBR with WUBI boot loader. I thought I might have to run fixmbr before installing Ubuntu but I assumed Ubuntu would write over WUBI edited MBR. Installed Ubuntu 9.10 and everything is fine but when I select XP from first boot option (Ububtu) it then takes me to another boot option which was from the WUBI install.

Basically to get to XP, I have to select it twice.

It's not a big issue but I know that this will annoy me and one day or another I will try and remove the second unnecessary option to boot into XP.

So if I have this correct I will need to run fixmbr from XP disc and then install Grub 2.0 from Ubuntu disc somehow?

Is this right? Is there another way I can delete the second boot option screen?

View 1 Replies View Related

Server :: URL Rewriting Without Redirection?

Apr 28, 2011

I got a peculiar request at work, and maybe you folks can help me out.I want to rewrite URL 'foo.com' as 'bar.com' (in the browser address bar) still display the content of 'foo.com'

View 2 Replies View Related

Server :: Sender Name Rewriting In Postfix?

Jan 8, 2010

I want a mail server that can relay mails to the internet using GMail and fetch the mails of different accounts into the mail server and distribute them to their respective users. I am using Postfix, Fetchmail and Dovecot. I have a PC with 3 users.I use the PC having Ubuntu 9.04 and share the internet. We all send mail and retrieve mail. We do use Evolution and Mutt sometimes. We want to send our mails with our email_ids without even logging in.

Hostname
mail.myhomepc.com
Domain
myhomepc.com

[code]....

I have created my custom certificate using SSL. I've created the Postfix's main.cf file following a tutorial on the net. Currently mails are going fine, but with our local email_ids. I want Postfix to rewrite our local email_ids with the equivalent email_id on the net.

View 2 Replies View Related

Server :: Apache2/Worpress Rewriting Url To Avahi's .local

Dec 18, 2010

I've got a home network that uses avahi's magic '.local' name service.

One computer is a server running Debian Testing/Apache2/Wordpress 3.0.x.

All the computers in the house have avahi-compatible service, so reaching the server is easy for computers.

I'd like to use my phone via the wireless lan to use the wordpress installation. The gotcha is, I can enter the ip address and get to the login page. The next page, the ip address is re-written to the avahi host name.

As an example,

1. I enter 192.168.11.110:100 and I land on the default page.

2. Click on a page of content.

3. URL is rewritten from the numeric address to the avahi, text address.

4. This is a 404 error on the phone. The laptops handle it just fine.

How do I stop apache2 from rewriting?

View 1 Replies View Related

Server :: Debian Apache2 Rewriting Subdirectory To Root Breaks Accessing Cgi Scripts

May 25, 2010

OS: Debian 5.0.4
Server: Apache2

I've used mod_rewrite to rewrite my apache2 root (my.server.com/) to point to /var/www/drupal6/ instead of /var/www/. I also have a script installed in my cgi-bin (/usr/lib/cgi-bin) but since the rewrite I can't seem to access it. When I go to my.server.come/cgi-bin/test.pl, I get a page not found from my drupal.

Is there a way I can access my cgi-bin without resorting to accessing my drupal through my.server.com/drupal6/?

Background: I have installed drupal CMS which has a base address of my.server.com/drupal6/ as it resided in /var/www/drupal6/. However I wanted users to be able to access it as my.server.com/ so I added the following into my httpd.conf

Code:
NameVirtualHost *:80
<Directory /var/www/drupal6>
RewriteEngine on
RewriteBase /

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Website Not Working \ Default Site Is Working?

Jan 19, 2011

I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:

<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com

[code]....

View 9 Replies View Related

Ubuntu Servers :: After Some PHP Fatal Errors / Php Do Not Working / But Html Is Still Working

Mar 7, 2011

I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)

View 2 Replies View Related

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

Apr 25, 2011

I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]

[code]....

View 8 Replies View Related

Ubuntu Servers :: Samba 3.0.28a - ACL Working 3.5.2 ACL Not Working?

Apr 23, 2010

I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"

View 1 Replies View Related

Ubuntu Servers :: Chmod -R Not Working At All?

Mar 7, 2010

I just finished setting up my home ubuntu home server. Installed LAMP and it works beautifully. The problem is everytime I upload a file through FTP into the server, the file changes permission even though I did chmod -R 755 www. Si everytime I upload a file to my server i need to run the command chmod -R 755 /var/www

View 1 Replies View Related

Ubuntu Servers :: Apt-get Update Not Working?

Mar 15, 2010

I have a farily new install of 8.04.3 server and I am having trouble with getting the following command to work.

sudo apt-get update

It is saying that apt-get "could not resolve" the server. The error text is below.

Here is my sources.list and after that are the error messages I am getting.

--------- sources.list ---------------------------
#
# deb cdrom:[Ubuntu-Server 8.04.3 _Hardy Heron_ - Release i386 (20090709)]/ hardy main restricted

[Code].....

View 6 Replies View Related

Ubuntu Servers :: Build Is Not Working

Mar 19, 2010

I started building my server with the following goals:Quiet - it will live in a cabinet in my living room, so it should be as quiet as possible Low power consumption - not just to keep the heat (ergo cooling demands, ergo noise) down, but also to save money since it will be on 24/7 High reliability Support for 8 IDE and 2 SATA drives. (Toward this end, I have two 2-port IDE PCI controller cards and one 2-port SATA IDE controller card.) Spend as little as possible. (Money is VERY tight for me right now.)

I started with a mini-itx board I had lying around. It's fanless, with a Via Epia 700MHz CPU in it. A little anemic, but it draws very little power and is dead silent. The problem with this board is that it has 2 IDE ports on board, no SATA ports, and only one PCI slot, so I have to choose between my SATA card and my IDE card. I need - but can't have - both. I tried buying a 2-slot PCI riser card, but apparently it's incompatible (or DOA) - none of my PCI cards work when connected via this riser card. I've looked for PCI cards that have 2 x IDE + 2 x SATA ports, but anything that fits that bill is very expensive.

Now I'm thinking new motherboard & CPU - preferably something older that can be had cheaply on ebay. If it uses DDR memory (rather than DDR2), I can use the RAM I have, which saves me $25. A newer Atom-based board would be OK, but they all seem to have one PCI slot -- and not enough IDE/SATA ports to get the job done with just one PCI slot. If you can recommend a motherboard that meets all the criteria above, please post it. (Or, if you have any other ideas for handling this very cheaply, let's hear it!)

View 9 Replies View Related

Ubuntu Servers :: EC2 10.04 EBS AMI & Webmin No Working

Jun 17, 2010

I recently started with Amazon's EC2, and it's been smooth sailing up to this point. I installed the official EBS AMI ( ami-714ba518 ) for Ubuntu 10.04 and installed LAMP, etc. All this worked fine. However, Webmin is a bust. I cannot fathom why I can't get Webmin working after adding the webmin repo and installing via apt-get. This worked just fine on my physical server, but on Amazon it gives me "Firefox can't establish a connection to the server at xxxxxxx:10000." I made sure my security group allowed port 10000 through to my IP, and MySQL client connections work fine, so that can't be the problem.

View 9 Replies View Related

Ubuntu Servers :: Iptables Not Working In Xen VPS?

Jun 27, 2010

When I try to run anything that uses iptables, even just iptables -L, I get:

Code:

1+drm33.2/modules.dep: No such file or directory
iptables v1.4.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded. This is on a fresh Ubuntu minimal install, using my VPS hosts image (so they could have messed something up). I know there have been issues in the past with iptables on Ubuntu on xen. Is this a Ubuntu bug? Is there a solution?

incidentally depmod -a gives:

Code:

WARNING: Couldn't open directory /lib/modules/2.6.32.11+drm33.2: No such file or directory
FATAL: Could not open /lib/modules/2.6.32.11+drm33.2/modules.dep.temp for writing: No such file or directory

View 1 Replies View Related

Ubuntu Servers :: How To Get Firewall Working

Feb 18, 2011

How do I get my firewall up and running to secure the ubuntu servers.. I have 2x network cards & 1x pppoe connection atm.
eth0 192.168.1.200 / eth1 192.168.0.200
and the ppp0 connection
iptables looks like this so far.

# Generated by iptables-save v1.4.4 on Thu Dec 9 11:12:04 2010
*nat
PREROUTING ACCEPT [108:8763]
:OUTPUT ACCEPT [52:3594]
POSTROUTING ACCEPT [111:10071]
COMMIT .....
A far as I can see my ppp0 connection is open atm & I would like to close off any traffic except ports 80 10000 5900 21 & 22.

View 4 Replies View Related

Ubuntu Servers :: DNS Not Working On Client?

Mar 23, 2011

I have success install DNS server using BIND on Debian 6.0. and it's work with windows client. but with ubuntu I can't ping all my domain. but if I use nslookup or dig from my ubuntu client, it's work. and I try connecting my ubuntu client to internet using modem.

View 2 Replies View Related

Ubuntu Servers :: Xforward Not Working?

May 17, 2011

I'm the administrator of a small lab with a server (NIS and NFS) and several workstations.Yesterday the very old server finally died. While we're waiting for a replacement, I was instructed to move the files of some users to one of the workstation, which runs Ubuntu 10.04 Server EditionI changed the /etc/fstab to disable NFS, and I also modified /etc/nsswitch to disable NIS.Because the workstation doesn't have any account, I manually created several accounts I was asked to rescue and then copied the backup files to this workstation.After several chown commands, the users now can login to the workstation and access their files.

However, xforward no longer works. I checked /etc/ssh/sshd_config and make sure xforward is enabled. I thought that might be caused by some old files such as .Xauthority, so I created a new account by using this commanduseradd -d /home/testuser -m testuserHowever, xforward still doesn't work for this new account.I tried ssh -X, ssh -Y. none of them workswhen I execute xclock, it shows:Error: Can't open display: ocalhost:10.0with no further debug informationwhen I do echo $DISPLAY it shows:localhost:10.0I've spent several hours searching online but so far I haven't found the solution yet.

View 4 Replies View Related

Ubuntu Servers :: Chmod G+s Not Working?

Jun 18, 2011

I have spent the last 2 hours trying to get this to work and it is driving me crazy, I have a 11.04 box and have setup some zfs filesystems for data storage, I have 2 users and have created a group called media and added both of the users to the group. I have changed the group of the directory to media and have set chmod g+s

root@saturn:/tank/data# ls -l
total 8
drwxrws--- 2 root media 2 2011-06-18 13:59 Backups
drwxrws--- 2 root media 2 2011-06-18 14:26 Music
drwxrws--- 2 root media 2 2011-06-18 12:44 Pictures

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Cron Isn't Working

Jun 18, 2011

I'm trying to remotely schedule a shutdown using cron but I can't get it to work. I did setup the following 'sudo crontab -e'

Code:

For some reason doesn't this work, since I was able to login and get this output when using 'date'

Code:

View 7 Replies View Related

Ubuntu Servers :: X11 Forwarding Not Working In 9.10 Server

Jan 6, 2010

Pre-exsisting issue from 9.04 server, and has never worked right for me. When I try to open an X11 forwarded app on a mac using the command "ssh -X myusername@serverIP" Other linux machines have similar issues from terminal. I can login just fine and preform any actions I want that do not require X11 forwarding, like say firefox or a manager. I just get the error "Error: no display specified" when trying to do anything with X11 forwarding. I have almost no Linux experience but from tinkering and my friends tinkering wonder if I have a x authority issue.

At one point I had ubuntu desktop package installed (forwarding still did not work then), did a unclean uninstall of it installed Xubuntu. Xubuntu did nothing but throw fits saying I did not have authority to preform all sorts of actions, many relating to root access. This box is meant to be a headless file, print and web server with the ability to login remotely as a convince for administration. I have given up on having a working GUI of any kind on this box. I really do not want to reinstall because of the amount of data on the main partition. What can I start trying to look into?

View 1 Replies View Related

Ubuntu Servers :: Everyting Is Working Except No Map Is Displayed?

Jan 15, 2010

I have set up a mapserver, everyting is working except no map is displayed, it looks like a problem with the tmp folder where the images should be writing to. I have searched for a solution and it seems that the user group needs to be www-data, however on my system apache is set as root not www-data and www-data does not exist as a group. Can I simply create this group? if so how?Then I assume I just do the following:

sudo chgrp www-data [path]/tmp
sudo chmod 755 [path]/tmp
sudo chmod g+s [path]/tmp

[code]...

View 1 Replies View Related

Ubuntu Servers :: Apache Only Working With Port 80?

Jan 20, 2010

I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canī open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.

View 2 Replies View Related

Ubuntu Servers :: Php Stopped Working After Update

Mar 19, 2010

Today i made an update using Webmin, and after that php stopped working, instead of running the files it launches a download. So i checked what was going on, and php module was disabled in apache config. When trying to enable it, it said the file "/usr/lib/apache2/modules/libphp5.so" did not exist, and indeed it disapeared. I tried to reinstal php and apache (with and without --purge, through apt) and it didn't solved the problem.

Also i tried copying the file from another machine, also without success (this time it shows " Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.") Dont know what to do now, im kinda desperated here because this machine hosts my website =P

View 2 Replies View Related

Ubuntu Servers :: Libvirt & Kvm Is Not Working After Upgrade To 9.04

Apr 6, 2010

I upgrade one of my servers from 8.04 to 9.04 and now libvirt is not working anymore.

The funny part is that the virtual machines are working perfectly because I can access them via ssh/ftp/etc.

I just can't access the libvirt interface. For example, if I issued (as root):

virsh -c qemu://system

I halts with Connecting to uri: qemu:///system error: failed to connect to the hypervisor

Is there a trace/debug that I can verify ?

View 1 Replies View Related

Ubuntu Servers :: Postfix SMTP Not Working

Apr 7, 2010

I've got a server running 9.10, and I'm having a few issues with SMTP. It's got Postfix and Dovecot installed, and eventually I'll add content filtering, but I need to get past this issue first.

I know there's a lot of posts out there for Postfix issues, but I haven'tbeen able to find one specific to my issue.

IMAP and POP3 work fine through SSL, and the server can send mail without any problems. That's all fine and dandy, but I need to utilize an e-mail client (like evolution or outlook). Everytime I set up a user in Evolution, the smtp connection times out, or is refused. I know it's not a firewall issue. Port 25 is open, as well as 465. So I should be able to connect through SSL. I want to be able to connect through SMTP using the same credentials as IMAP.

Here's my main.cf file:

Code:
myhostname = mail.adamwgay.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname

[Code].....

everytime I get things rolling, this issue pops up. I don't know if it's something I'm setting up wrong in the client, or if it's a configuration error on my part in postfix.

I'm also having a bit of an issue with my aliases. I've basically got a lot of addresses going to root, then root going to the main user, but it's not actually delivering the mail to the main user. It sends it straight to root.

View 9 Replies View Related

Ubuntu Servers :: 9.10 SSH Without Password (id_rsa) Not Working?

Apr 28, 2010

I also have the same problem. but on 9.10. have you solve the problem? It will be wonderful if you can give some hint.

Quote:
Originally Posted by pc-cito

I'm under Ubuntu server 8.04 and Open-ssh 4.7p1 I need to connect via ssh two servers: S1 to S2

Now what i do:

S1: ssh-keygen -t rsa
S2: mkdir .ssh
S1: cat .ssh/id_rsa.pub | ssh user@S2 'cat >> .ssh/authorized_keys'
S2: chmod 644 .ssh/authorized_keys

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Get NFS Working On Local Network?

Apr 30, 2010

I've followed several guides and am trying to get NFS working on my local network. For starters, I think I should be able to NFS mount a drive on the server (192.168.1.65) TO the server. From there I'll work with another client (currently 192.168.1.80)

Code:
$cat /etc/exports
/media 192.168.1.0/24(rw,no_subtree_check)
$cat /etc/hosts.deny
portmap mountd nfsd statd lockd rquotad : ALL

[Code]...

The guides I've read seem simple, so I must be missing something easy. Can't figure it out, so I'm looking for help after googling for 2 hours.

View 9 Replies View Related

Ubuntu Servers :: ClamAV Not Working After 10.04 Upgrade?

May 7, 2010

Code:
* Starting ClamAV daemon clamd
WARNING: Ignoring deprecated option MailFollowURLs at line 33
ERROR: Can't initialize the internal logger
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
...fail!

[Code]...

View 5 Replies View Related







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