Ubuntu :: LAMP: Mod_rewrite, Imagick Refuses To Work In One Folder?

Feb 19, 2011

I have ubuntu 10.10. I installed apache2 Php mysql and phpmyadmin through the package handler. it worked after that I instaled Imagemagick , and imagick for PHP. than I installed mod_rewrite for appache2. I created a folder in /var/www/ called shimmie. I copied there my codes and after setting up htaccess it worked fine. url rewrite worked. thumbnails with imagick appeared along with normal images. Yesterday I got another webpage project. but it required apache mod_ expires and mod_headers and installed it. And installed Xdebug for PHP. after this I put the webpage to another /var/www/ folder called fashion. Now in fashion everything works as its needs to: url rewrite , expires.. everything. But now my original folder shimmi, doesnt works: no url rewrite, no imagick thumbnails nor the original image shows up.

the folder belongs to my user and set is that every thing can read it and write it.

EDIT: I even copied the shimmie folder toa new and still didnt work, so i re created it... and still doesn't work.... why is thats the only thing that cant use .htacces and imagick?

[URL]

View 1 Replies


ADVERTISEMENT

OpenSUSE Network :: Make Apache Mod_rewrite Work?

Jun 1, 2010

I want to enable Pretty URLs in Concrete5 and Joomla CMSs. So far I have- enabled pretty urls in the CMS- created .htaccess files (as they showed)- changed AllowOverride None to All in /etc/Apache2/httpd.conf <directory>- restarted ApacheBut the pretty urls still don't work, When I click any link on either site it gives me a page not found error. If I use the "non-pretty" URLs, all the links work. So I guess Apache either doesn't read the httpd config file or it doesn't read the .htaccess files or something else. Has anyone got this working? What else did you do?

View 9 Replies View Related

Ubuntu Multimedia :: Vlc Refuses To Work?

Jan 31, 2010

I have tried to install vlc on my ubuntu 9.04. Initially all went fien, vlc was here and did work. I tiried to uniinstall, then install again, still no cure. what went here wrong? And how to correct all?

next time I tried to run it, nothing happened, no process of vlc could be found and so I tried to start it form cmd with following results:

Code:

(<unknown>:5056): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(<unknown>:5056): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(<unknown>:5056): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

[Code]....

View 1 Replies View Related

Ubuntu Networking :: WG111v2 Refuses To Work In 9.10?

Apr 25, 2010

I replaced a broken WinXP install with Ubuntu 9.10 x32 on my kids PC and the install and OS itself seems to be fine. When connecting the Netgear WG111v2 USB dongle so that they can get internet access things aren't so good. Firstly the startup and shutdown of the machine get big pauses (around 2 minutes at a time) and there are also big pauses and a general slowdown of the machine while in use that doesn't happen with the dongle disconnected. I wouldn't mind that so much but I can't get the damn thing to connect under ubuntu to our home network. I left an old Win2k partition intact on the machine and I'm glad I did as it means that I've been able to install the drivers to make sure that it all works under Windows, which it does.

It probably makes little difference but the light on the dongle is off for the majority of the time and only lights up briefly on seemingly random occasions. Also, I have no entries for Network Manager in my menus, and the system tray applet doesn't give me the options and tabs that are mentioned in some peoples posts in this forum (ie I can't change the computer name for example), sometimes the system tray applet disappears altogether.

With the dongle attached typing lsusb into the terminal sometimes shows just the USB hubs and sometimes also shows an entry with the WG111 included (and sometimes with big pauses). nm-tool sometimes shows just the motherboard NIC (disconnected), sometimes the WG111 too (also disconnected) and sometimes it just throws up several error messages with pauses between each one. dmesg showed an entry for the dongle on the occasion that I tried it.

View 6 Replies View Related

OpenSUSE :: Where Has Php5-imagick Gone

Oct 13, 2010

I used to run Apache + PHP5 + MySQL + ImageMagick locally, as a testing server for a project I'm working on. A while ago I updated a few things, with the php5-imagick library not matching dependency version numbers anymore. I decided to ignore it, since there was no update for the library. I have been without an internet connection in the meantime, but php5-imagick didn't work anymore at all. It didn't return any errors, but it simply didn't modify anything about the pictures anymore. A few minutes ago I decided to manually uninstall and reinstall the php5-imagick package.Uninstalling went fine. But when I wanted to reinstall it, the package was nowhere to be found! A quick Google search turned up no relevant results.

View 5 Replies View Related

Ubuntu Multimedia :: Bluetooth A2dp Refuses To Work

Nov 13, 2010

So I've searched all over the web and followed every bit of instruction that I could. I get bluetooth manager to detect my phone and it pairs up without any problem. Even when I set it up to connect to play streaming music from the phone it links up but I hear nothing from the speakers. Of course, in pulseaudio I do see "Internet Phone", but there's no way I can edit it. And whenever I try to do this step, I get a failure

Now we need to tell PulseAudio that your Bluetooth headset exists:

*
pactl load-module module-alsa-sink device=btheadset
pactl load-module module-alsa-source device=btheadset

Failure: Module initalization failed

View 1 Replies View Related

Software :: FreeNX Refuses To Work?

Nov 29, 2010

how to use NX in the simplest possible way. I have two computers - remote with client apps and local with X server.

I managed to start nxproxy on both, but when I try to run a program on the remote one, I get "Protocol not specified" errors:

remote:

Code:
# nxproxy -C
NXPROXY - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine.

[Code].....

View 1 Replies View Related

Fedora :: Sfdisk Refuses To Work - Says Sda Is Busy ?

Feb 26, 2010

I have 2 HDs, an old one with LVM (sda) with two partitions, sda1 and sda2, and the new one without LVM (sdb). I want to format the old sda device. I tried with sfdisk, but it says that the sda is busy:

But there is no call in /etc/fstab to sda, I did a /sbin/swapoff -a, and this is the output of df:

lsof tells me no one is using sda, sda1 or sda2.

So, why does sfdisk refuse to work?

View 4 Replies View Related

Ubuntu Multimedia :: Sound Refuses To Work - Music Won't Even Play On Banshee

Jun 16, 2011

So, after an update my sound stopped working at all. Music won't even play on Banshee. I tried fixing this several ways with no luck. Now, my computer's sound output is stuck at "Dummy".

View 4 Replies View Related

CentOS 5 :: Install A PECL Module Imagick Into XAMPP?

May 24, 2011

I'm trying to install a PECL module imagick into XAMPP, but it's not showing up on phpinfo();

The steps I've taken so far

1. Compiled Image Magick from source

2. Compiled imagick PECL module from source

3. Copied the .so files magicwand.so and imagick.so from /usr/lib/php/modules/ to /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613

4. added
extension=imagick.so
extension=magickwand.so

View 1 Replies View Related

Ubuntu Servers :: Lamp-Server: Can't Get Localhost To Work Properly?

Dec 23, 2010

I have Ubuntu 10.10 and i installed the lamp-server by typing:

Code:
sudo apt-get install lamp-server^
everything seemed to work fine.

[code]....

View 9 Replies View Related

OpenSUSE :: GNOME-Shell Refuses To Work After Full Reinstall

May 13, 2011

I have recently been pulling my hair out with Gnome-Shell. I had Gnome3 including the shell up and running as soon as it was ready in the stable repos. However it recently refused to work after the update to 3.0.1 hit the stable repository. Today I did a complete reinstall of OpenSUSE 11.4 from the gnome desktop CD, NVIDIA drivers are correctly installed and working. Gnome3 has been installed via the one-click method on top of this FRESH install. Yet still my gnome-shell freezes after login, I am running in fallback mode now. Really cannot see what can have gone wrong this time, nothing out of the ordinary has been knowingly installed at all. I'd really love to get my desktop up and running to how it used to be.

View 9 Replies View Related

Ubuntu :: LAMP Server "forbidden" And Home Folder Access?

Sep 24, 2010

Instead of doing this by actually changing the apache directory, I simply put in a symlink from the WWW directory.This worked many times, but today, under Maverick, I got the following error : "Forbidden You don't have permission to access / on this server."I spent a LOT of time on the web trying to solve this error and in the end, it got solved simply by enabling permissions "access" to "others" direclty on my home folder (because my Dropbox folder is, of course, within my home folder).However, I have no idea if this is a good idea. Does this mean that simply anyone could access any file on my computer ??Alternatively, does anyone know how I could proceed to make this LAMP server work WITHOUT having to change my Home directy permissions this way ?

View 1 Replies View Related

Fedora Servers :: Anything Special To LAMP Server For AJAX To Work?

Apr 14, 2011

Do I need to do anything special to my LAMP server for AJAX to work?

View 2 Replies View Related

General :: Error 404 "PHP Code: Object Not Found' - Get PhpMyAdmin Work On LAMP Installed On OpenSuse 10.1?

Apr 24, 2009

get phpMyAdmin work on LAMP installed on OpenSuse 10.1 !!

running: "rpm -q" command result:
apache2-2.2.0-21.7
php5-5.1.2-29.25.3
MySQL5.0.18
phpMyAdmin-2.9.1.1-2.3
webmin-1.360-1

My problem is when trying to connect to: "hxxp://www.m-y-d-o-m-a-i-n.com/phpMyAdmin" I reported Error 404: PHP Code: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Why The Mod_rewrite Won't Load

Apr 17, 2011

Trying to track down reasons why mod_rewrite won't load, I found this site; hopefully, this will reduce the idiocy of this question.

Based on it and other sources:

Code:

graton# locate mod_rewrite.so
/root/share/openh323/lib/apache2/modules/mod_rewrite.so
/root/share/pwlib/lib/apache2/modules/mod_rewrite.so

[code]...

View 2 Replies View Related

Ubuntu Servers :: Mod_rewrite Breaks PHP Post

Aug 29, 2010

My .htaccess file looks like this:

Code:
Options -indexes
RewriteEngine on
RewriteBase /

[Code].....

View 3 Replies View Related

Ubuntu Servers :: Apache Mod_rewrite Not Working?

Jun 27, 2011

I have mod_rewrite and mod_proxy loaded properly for the apache2 package in 11.04. I added the following to the bottom of my apache2.conf:

RewriteEngine: On
RewriteRule: ^/$ /test [L]

The server restarts fine, but / is not getting rewritten in the slightest. And when I added the RewriteLog directive, the log file had absolutely nothing in it.

View 3 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

Server :: Mod_rewrite .php And _ To / In Root Directory Only

Jan 22, 2010

I would like to use mod_rewrite to rewrite all instances of .php and _ in file names in the root directory

So far I have:

But this throws out error 500. Could someone correct my code?

View 1 Replies View Related

Server :: Mod_rewrite With Non-www To Www For All Deep Links?

Aug 16, 2011

I am still struggling to get non-www to www. At the moment I have following code to redirect from non-www to www. RewriteCond %{HTTP_HOST} !^www.hoteldealscatcher.com$ [NC]
RewriteRule ^(.*)$ http://www.hoteldealscatcher.com/$1 [R=301,L]It works totally fine for home page but not for other deep links, such as /city/Sydney.php, they are still going to non-www pages. What 's the best approach I could use to solve it

View 6 Replies View Related

Programming :: Mod_rewrite Remove Sub-directories From URL?

Apr 25, 2011

I have tried this a million ways, got it to work once but it didn't work sitewide for some reason. I have a url: [URL] and I want it to be found by going to: [URL] I am using this

Code:

RewriteCond %{REQUEST_URI} ^/agents/tp/
RewriteRule ^([^/]+)/?$ agents/tp/$1/index.php [L]

and have also tried something as basic as

Code:

RewriteCond %{REQUEST_URI} ^/agents/tp/
RewriteRule ^(.*)$ agents/tp/$1/index.php [L]

I keep getting "The requested URL /JoeAgent/ was not found on this server." why it's not working?

View 4 Replies View Related

Ubuntu :: Apache2 Mod_Rewrite - Passing The Artist=$1 To The Server GET Vars

Sep 9, 2010

I've given a bit of support using Mod_rewrite to use magical urls to redirect to scripts, but when I migrated to Ubuntu's Apache2... I'm lost. I basically want to rewrite like this:

Code: RewriteRule ^artist/(.+)/$ artist.php?artname=$1 But I noticed that it wasn't passing the artist=$1 to the server GET vars. Then I noticed that if I changed the name of the file in both the rule and the file system to artists.php, typing artist/blah/ no longer was found. So then I realized that if I removed the rewrite rule artist/hello/ would still resolve to artist.php without any parameters my htaccess is like so:

[Code]...

View 1 Replies View Related

Server :: Apache2 Running On SLES 11 Mod_rewrite?

Jun 3, 2010

I am running Apache2 on Novell SLES 11. I am using Virtual Hosting for two sites. One site only has a single domain whereas the other site has two domains registered. surrounding my one virtual host with the two domains. I want anyone that point to [URL] gets redirected to [URL]. I am trying to do this for trending but not 100% on how to go about doing this. I've read about mod_rewrite but most of the information I've read about is about a single site running on Apache and not much around Virtual Hosting within Apache. I am currently using Server Alias within my vhost.conf file which allows either [URL] or [URL] to see the site but I really want to redirect [URL] to [URL].

View 12 Replies View Related

General :: Redirect Apache (mod_rewrite) From Subdomain To Https Directory (vhost)?

May 1, 2011

On one of my servers (Centos 5.5), I have been hosting articularly complex CRM application for one of my clients. Recently they have asked about configuring SSL connections to the CRM. Problem is, SSL is already configured for their main domain but not the sub-domain where the CRM application is accessed. Rather than purchasing another SSL certificate for their sub-domain (and probably another IP address),ld it be possible to setup a redirection from the subdomain to a sub-directory in the SSL directory using mod_rewrite. I have searched online and through the other posts on LinuxQuestions but nothing I have tried works.For example:[URl]

View 2 Replies View Related

Ubuntu :: Firefox Won't Work After Putting Home Folder On New Partition?

Jan 9, 2010

I have just finished transferring my home folder to a new partition. I did so by carefully following instructions on this link [URL] I had firefox open and was copying instructions one by one into an open terminal window.

When I tried to reboot ubuntu I first had a problem with ICEauthority which I think is now fixed and ubuntu then started as normal but when I tried to run Firefox I got a message saying that it was already open.

As I had Firefox open when I was copying files to the new partition I assume that some setting was copied saying that Firefox was open?

Is it possible to simply adjust this setting or do I have to undo the transfer and repeat the process with firefox closed.

I have not deleted my copy of the old home folder yet.

View 5 Replies View Related

Ubuntu One :: Uploading Files / Folder Sync Doesn't Work?

Aug 29, 2010

OS: ubuntu 10.04 lts. Runing on latest oracle virtualbox vers.

This works:

Established ubuntu one. Able to log into ubuntu one. Able to make folders.

This doesn't work:

When uploading files, it prompts "uploading". But never finish. And files do not get uploaded. To sync a folder on desktop and ubuntu one never works.

View 2 Replies View Related

Ubuntu Servers :: Samba Folder Doesn't Work In Vista

Mar 27, 2011

I got ubuntu samba server on server 10.04 username:user1 , Home folder: /home/user1 This user connects from a macbook pro no problem. I followed the same steps to set up user2 username:user2 , Home folder: /home/user2 This user does not connect from windows vista. I have the correct ports open, 137-139 & 445, and can connect from the macintosh, but not vista. The error says that the username or password is in correct. If you need some log files or config files, just let me know where to go and they're all yours!

View 9 Replies View Related

Ubuntu Networking :: Dragging And Dropping To Move Items From One Folder To Another Does Not Work?

Mar 17, 2010

I have been using Ubuntu 10.04 (32 bit) as a headless workstation, running a VNC screen. Worked perfectly for about 3 weeks, then suddenly, I lost the Drag and Drop capability, for all applications.For example: Dragging and dropping to move items on the desktop does not work. The item simply pops back to the original location. Dragging and dropping to move items from one folder to another does not work. Same behavior -- the item just pops back to the original location. Dragging and dropping Bookmarks in Firefox does not work. The attempted Drag and Drop is ignored. Copy and paste still works fine.The problem does NOT occur when using an attached monitor (primary display screen :0).After much Googling (including these forums), I suspected that the changed behavior was caused by an update (from Ubuntu Update Manager). I confirmed this with the following:Reinstalled Ubuntu 10.04 fresh from the live cd.Configured minimal networking and installed VNC server.Tested Drag and drop -- works okayApplied pending updates (116) from Ubuntu Update ManagerTested Drag and drop -- not workingI am using vnc4server and openssh-server installed from the repositories using Synaptic.

View 7 Replies View Related

Fedora :: Unable To Access My Home Folder / Get That To Work?

Oct 8, 2009

I can't access my home folder using nautilus ( and everything that using gui), but I easily can access to subfolders e.g. "Music", "Downloads" and others. What can cause this trouble?
Also I can retrieve directory listing using terminal.

View 14 Replies View Related







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