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


ADVERTISEMENT

Ubuntu Servers :: Changed AllowOverride Still HTAccess Not Working

Apr 6, 2010

I have followed the tutorial from this site [URL]. I have changed this file /etc/apache2/sites-available/default and in this file I have changed AllowOverride None to AllowOverride All but still I get:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I have installed and reinstalled apache 2 time already.

View 8 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 :: DNS Not Working Properly (Maybe Be BIND9 Related)

Apr 26, 2010

I am migrating my server from Kloxo (lxadmin) to Ubuntu (webmin/virtualmin), and I already had my Nameservers on my register (Godaddy) to go to [URL] and [URL] along with my IP. (I set the ttl to 60 cuz I thought that might be a problem) Now, I do a dig [URL], it gives me this output.

Code:

; <<>> DiG 9.6.1-P2 <<>> thedomz.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40276

[code]...

I can go to my website only when I change my hosts file (on my windows machine).

View 9 Replies View Related

Server :: .htaccess And .htpasswd Not Working?

Feb 27, 2011

I have created a sub directory on my box on a website for my company. It is a page that has links to my tools I want to use when I do service calls. Links that connect to my servers webmin etc. Of course I don't want them found by webcrawling bots. I have created a .htpasswd file using htpasswd -c /location/to/file/.htpasswd.

This file is located outside the web. Just under the public_html folder. Then I went to the sub directory I want to protect and added a text file named .htaccess. It contains:

/home/sites/www.domain.net/tech/
AuthType Basic
AuthName "Some long name"
AuthUserFile /home/sites/www.domain.net/.htpasswd
Require valid-user
ErrorDocument errornumber /home/sites/errorpages/403.html

I also opened the httpd.conf and changed AllowedOverride to All

The error document doesn't work either.

I then restarted the httpd service. I try to access the site and it lets me right in without asking for a password. It is apache 2xxx on Centos 4.5. Webmin under Apache confifirms all this.

View 12 Replies View Related

Server :: Mod_rewrite Htaccess Not Working?

Nov 25, 2010

I want to use rewite module to change my site url from site/index.php to site/cat/ for example I have created .htaccess file in the directory where the file is and add to it:

Code:

RewriteEngine on
Rwerite ^cat$ /site/index.php

Here site is not my site, it just in example. I have rewrite.load in the loading list of modules and I can see it loads in phpinfo(). AllowOverride is set to All for the current site, but no redirect is made on site/cat

View 2 Replies View Related

CentOS 5 Server :: Htaccess Not Working In 5.5

Feb 22, 2011

I have searched high and low both on this website and the big G and nothing.I have a VPS with fresh CentOS 5.5 install and can't seem to get the server to act on the htaccess file.

View 1 Replies View Related

Server :: .htaccess Not Working In CentOS 5.5 X86_64

Sep 28, 2010

I have checked and double checked the .htaccess and httpd.conf to make sure everything is correct and I'm sure it is. I have AllowOverride set to All in the httpd.conf, Apache sees and is reading the .htaccess because I get a 500 Error when I put garbage text in the file. I'm lost now.

View 9 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 :: 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 :: Vi Not Working Properly?

Dec 21, 2010

Does anyone know why vi text editor would not work. I'm running Ubuntu server with SIP service and apache and when i try to edit config files with vi it gets messy.On the bottom of the screen it would not indicate if I'm in backup mode or not. I won't same changes, and it messes up the layout when you use arrow keys to move between the lines. Also sometimes when I use arrow keys it will insert capital A, B, C or D.

View 5 Replies View Related

Ubuntu :: Can't Get 11.04 Working Properly

Apr 28, 2011

I have a Lenovo W500 ThinkPad. It is running XP on first partition, then Ubuntu. I've tried both 10.10, 11.04 beta 2, and now 11.04 release.With the release I just installed, it seemed OK till reboot-after-install, at which point nothing came up. I rebooted several times and just got errors and kernel panics in the ATI video driver. I also saw a lot of these messages:"udevd[80]: worker [XXX] did not accept message -1 (Connection refused), kill it" URL...

I had download updates on, I'm trying again with a clean install without updates. (Although, I said don't download while installing, and it says it is downloading language packs...?)Now, I also had issues with 10.10, where it would intermittently boot and fail to get video, I'd just be at a tty, and have to reboot and try again. I found it usually got video if I had just booted Windows (XP Pro SP3) beforehand, and not otherwise So what's going on there? Something up with the actual video card? I want to run Gnome anyways, is there a way I can specify that during the install?At any rate, if I can't get 11.04 working properly, I'll have to run 10.10, which I didn't want to do. I'm starting from scratch and wish to start from 11.04 if at all possible.

View 2 Replies View Related

Ubuntu :: 11.04 Not Working Properly?

Apr 29, 2011

So yesterday I upgraded to 11.04 from 10.10 and now when I enter Ubuntu only my background image appears. No files, programs, or anything. It worked right after it rebooted to finish the upgrade but when I turned my computer on this morning I got nothing but background.

View 4 Replies View Related

Ubuntu :: Firefox Not Working Properly

Jan 11, 2010

The navigation buttons in firefox are not working and I can not access File, Edit, View, and History pull down menus. This just started today i think. I have 3.5.pre8 and 3.7 installed. both are affected.

Edit: Actually it is a problem with all apps when window is maximized. I cannot access the first 3 or 4 pull down menus or buttons on the tool bar unless the window is not maximized. This happens with konqueror, firefox and Banshee. Have not tested other apps yet.

Edit2: Upper left corner of desktop is also affected. The icons in this part of the screen are not accessible. seems that anything in that region of the screen is dead. just switched from compiz window manager to metacity and there is a black square in the upper left corner of my screen about 2.5"x 2.5".

View 1 Replies View Related

Ubuntu Installation :: APT Is Not Working Properly

Jan 12, 2010

I can't install software in Karmic - just installed the OS and hooked up to the network, but whenever I 'sudo apt-get install <program>' I get: Couldn't find package <program>I've looked at sources.list and can't find any problems. Is there something else I should look at?

View 2 Replies View Related

Ubuntu :: M And S Key Not Working Properly After Upgrade

May 4, 2010

I upgraded two machines to 10.4 TLS. When I press "s" key, system shutdown menu is displayed, and when I press "m" key, message menu is displayed.

View 4 Replies View Related

Ubuntu :: Touch-pad Is Not Working Properly

Oct 11, 2010

upon the upgrade from 10.04 to 10.10, all upgraded nicely, except for my touchpad, which can't right click anymore, I can use the scroll on the side, and the button-trackpad just functions as a left click.I have an HP Pavilion dv6, with a touchpad like that of the HP Envy, click touchpad, with depressing ends on the bottom and middle respectively for left, middle, and right click.

I submitted a bug report on this when it was in beta, is there a solution to this issue? I use my laptop for work, so I would appreciate a fix... or something I could do aside from uninstalling my Operating System and reinstalling the previous version, which would seem to be a hassle.

View 2 Replies View Related

Ubuntu :: Can't Get Java Working Properly ?

Nov 20, 2010

I can't get java applications to run properly in a lot of cases. I've tried completely removing Java and reinstalling it. I've tried removing Iced Tea and OpenJDK and installing Sun Java instead. I've done a complete, clean reinstall of Ubuntu. The symptoms of my problem never seem to change. Minecraft is the best example I can give you. As soon as the game loads (in the web or on the desktop alike) it closes abruptly. This is what's in the log file.

Code:

I'm thinking "C [+0x416] __kernel_vsyscall+0x2" is important somehow. I can't seem to figure out what it means. I've tested this on a friend's laptop using the same (Ubuntu 10.10) and it works fine, no errors. I know other people are running their java fine.

View 1 Replies View Related

Ubuntu :: Empathy MSN Not Working Properly?

Dec 5, 2010

Has anyone else been getting problems with contacts on MSN not receiving any messages?Works fine for google chat though, having to use Emesene for MSN at the moment, quite annoying.Also sometimes messages seem to double up and notifications too.

View 1 Replies View Related

Ubuntu :: Webcam Isn't Working Properly

Dec 28, 2010

i recently installed guvcview on xubuntu and the window just shows up as a black screen with nothing and according to the uvc website my Logitech QuickCam Communicate Deluxe is supported by linux when i start up guvc the webcam's light turns on so i think its working

View 1 Replies View Related

Ubuntu :: Autofs Not Working Properly?

Apr 24, 2011

I managed to configure autofs5 on my Kubuntu 10.10. I want to use autofs to mount my NAS drive, when I am home(most of the time ) and not bother me when I am away. I mount it in /etc/fstab, but suspend and hibernate does not work correctly, when I am not at home. Now I comment the line which mounts the NAS driveI am still not at home, and decided to try to autofs my flash drive Here is my auto.master

Code:
# directory map
/- /etc/auto.direct --timeout=2 --ghost

[code]....

View 4 Replies View Related

Ubuntu :: Rtcwake Not Working Properly?

Apr 25, 2011

In my laptop pc the following command doesn't work properly

Code:
rtcwake -m disk -s 1500
The pc reboots as usal after 1500 sec

[code]....

View 1 Replies View Related

Ubuntu :: Hibernate Is Not Working Properly

Jul 10, 2011

I've installed Ubuntu Natty on my new lenovo laptop, and hibernate isn't working.Problem: When I click hibernate, the computer shuts down ok. When I boot it again, it seems as if hibernate is resuming (I get the blank purple screen), however the computer restarts again, and now boots as if I had shut it down(ie none of the programs are open).Also, programs (such as google chrome) that were open when I hibernated show that the program did not exit normally.

View 5 Replies View Related

General :: SCP Is Not Working Properly?

Aug 1, 2010

I've noticed that, I can not copy a file trough scp .here is an example:

[root@Radius ~]# scp 123.txt /etc/logrotate.d/radiusd.log "nasser@192.168.8.46:/tmp"
nasser@192.168.8.46's password:
[root@Radius ~]#

[code]....

View 2 Replies View Related

Ubuntu :: Vmware - Login Not Working Properly

Jan 18, 2010

i have a question about vmware fusion (3.0.1) and ubuntu (9.1) i just created the ubuntu virtual disk yesterday, and have not done anything on it besides change some minor stuff (background, theme, etc). for some reason this morning, the login screen has been freaking out. the vm loads and shows the login screen, i click my name and enter my password, i get the cool music, but right before my desktop loads it goes straight back to the login screen and i have to start over. it does this over and over until i cry and give up. i have tried restarting the vm, restarting the host computer, everything. every once in a while it will randomly work, but then if i restart, back to the same issue

View 1 Replies View Related

Ubuntu :: Minimize Button Not Working Properly?

Jan 29, 2010

i have just changed my desktop appearance by using the customise option, but now when i click on minimize the windows close instead of going to the panel ive searched high and low for a settings option but cant find one so i have no idea what i have done.ive tried reverting back to the old desk top but get the same problem there so ive managed to change a setting somewhere but don't know where.

View 4 Replies View Related

Ubuntu Installation :: Gnome Is Not Working Properly

Feb 16, 2010

I have updated my ubuntu to the following kernel: 2.6.31-20. There has been several other update such as compiz that I do not have installed.Anyway, now I gnome doesn't work properly - at least I think it is Gnome, I cannot switch between windows, I do not have the bar on top with the cross and all I only have one desktop loaded out of 4 and the computer is continuously working.

View 6 Replies View Related

Ubuntu :: Mouse Not Working Properly With Eclipse?

Mar 2, 2010

I am using ubuntu 9.10 , but while opening eclipse and working with it, i used to face some strange problem which is my mouse does not work properly inside eclipse and these effect the other application and i used to get stuck (the keyboard will be still working) which force me sometimes to kill the whole eclipse (using keyboard)....

View 7 Replies View Related

Ubuntu Networking :: Browser(s) Not Working Properly?

Mar 20, 2010

Alright I just installed Linux as the only and got it all set up but now I have a problem with firefox or actually any browser. As far as I understand my internet works fine, I was able to download updates from the software center and various programs too. My problem is that when I try to go to any other website than google the browser just freezes up. The bar in the left bottom corner just says "Waiting for <site name>" Strangely google and google mail works. Ive tried going through all of the network settings but I am at a loss now

View 5 Replies View Related







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