Server :: PNG Images Not Displaying From Certain Directories In Apache?

Jan 13, 2011

I have a png file which I put into a user's directory: /~user/file.png This displays OK. When placed in the user's images directory: /~user/images/file.png the file does not display. If I put the file in the global images directory: /images/file.png the file displays OK. Finally if I change the format of the file to a jpg and save it in the user's images directory: /~user/images/file.jpg the file displays OK.

When I look at the Apache access_log and error_log files, there is not even an entry if the png image file is accessed from the user's images directory.

View 4 Replies


ADVERTISEMENT

Server :: Non-displaying Website Data: Javascripts And Images?

Mar 10, 2010

I have a weird problem I am experiencing with my Apache 2.2 w/ ISPConfig 3 running on Debian 5.0.4. It is not a website html issue.***PROBLEM***Images are not beind displayed,javascripts are not being run, however when the site is viewed from a local source as a file(like on a USB Flash Drive) they work fine and display properly.Here is the website URL:I have removed a lot of the images and content or changed it in order to troubleshoot it myself, so the site is stripped pretty bare. There is supposed to be a logo inside the "header" <div>, which is set in the CSS file "style.css". There are supposed to be images for navigation, but they show up as red "x"'s. I removed the javascript elements and just trying to work with barebone html/css and can't seem to get it to display properly.

View 3 Replies View Related

Server :: Displaying An Alternate WebPage When Apache Is Down?

Sep 11, 2010

Code:

# service httpd stop
Stopping httpd: [ OK ]
And now we access the web site by typing the URL: http://192.168.56.10/ and the following message, as expected, is displayed:

Code:

This webpage is not available. The webpage at http://192.168.56.10/ might be temporarily down or it may have moved permanently to a new web address. But is there any way to display a different web page or message when we have brought down the Apache Server for maintenance so that a visitor on our web site would not think that we are gone with our bags and baggages...?

View 1 Replies View Related

Server :: Apache - Redirect Sub-directories To Different Server?

Sep 29, 2009

My current setup is:

old server:
www.mydomain.com main site
www.mydomain.com/subdirectories related sites from same server, different directories

I am adding an additional server that I would like to initially only use for the main site, something like this:

new server
www.mydomain.com main site
www.mydomain.com/subdirectories would be pointed back to the old server instead

What's the best way to redirect the traffic for the sites found in sub-directories on the old server?

View 2 Replies View Related

Ubuntu Installation :: 11.04 Firefox Displaying Images Improperly?

May 8, 2011

I recently upgraded from 10.04 to 11.04, and when I did so images started displaying improperly in Firefox. This is an issue that is isolated to Firefox, and does not occur in Chrome, and really only occurs on Facebook. The images look as though they were taken under a blacklight. I don't know what the issue is, as I was running Firefox 4 under 10.04, and the issue did not occur then.

View 2 Replies View Related

Ubuntu :: Konqueror Stopped Displaying Background Images (Kubuntu 4.4.5)?

Feb 11, 2011

I've been using Konqueror for years, but I hadn't ever tried playing with the Appearance > Stylesheets settings in the Settings > Options > WebBrowsing menu. Now, I'm regretting it.

Here's exactly what I did:

1. Went to that Appearance > Stylesheets and clicked on "Use accessibility stylesheet," then Customize.

2. The "Suppress Background Images" option was checked. I unchecked it, because I wanted it to display them.

3. Clicked Close, then Apply.

Then I reloaded a page, and for some reason, it wouldn't display the background images! (Odd, because I unchecked that box.) So I went back into the same menu, chose "Use default stylesheet", OK, and reloaded the page. Nothing changed. Now, every web page I go to doesn't display background images. Other than that, everything looks identical -- it's obviously loading each website's stylesheet, because all of the DIVs and such are in the right place wherever I go. Just . . . no background images.

View 1 Replies View Related

General :: Aptitude Displaying Directories - Not Showing Actions

Aug 19, 2010

Code:
$ aptitude s
sbin/ selinux/ server/ srv/ sys/
This is what happens when I hit TAB. It always showed "show" and "search" actions before... Why directories now?

View 2 Replies View Related

OpenSUSE :: Unable To Upload Images Because It Cannot Create The Directories Required

Jun 1, 2010

I'm running OpenSuse 11.0 in a lamp configuration with Apache 2. I configured Apache with the .conf files instead of YAST because I am running virtual hosts (that's another story).

My problem is that my server will not render the pages unless the permissions are set to 775 which I know is not necessary. This is also causing a problem because I am trying to install WordPress onto the server. WordPress will run, but it unable to upload images because it cannot create the directories required.

Apache2 is running as 755 with root as owner and www as group. I changed the owner of the htdocs sub-directories to myself, and created a group that has permissions to write to the directory. WordPress runs as my user and has the same permissions (775).

View 4 Replies View Related

Software :: New Apache Install - Php Files Are Downloading Rather Than Displaying?

Oct 17, 2009

New apache install, php files are downloading rather than displaying, does anyone know whats causing this. When I compiled php with apxs it automatically added this line:

Code:

LoadModule php5_module modules/libphp5.so

I restarted apache, and also try adding this line:

Code:

AddType application/x-httpd-php5 .php5 .php4 .php

and then restarting.

View 2 Replies View Related

Ubuntu Servers :: Apache Won't Serve Images

Aug 15, 2010

I've just set up a Ubuntu 10.04 LAMP server and put a couple of websites on it.It Seems to be working fine except that it won't serve any images.It apparently served a 3787 byte response which was not received by netcat! Not even headers.It's not the usual-permission etc as there is no line in the error log about this request.

View 7 Replies View Related

Ubuntu :: Script To Create User, Directories And Site In Apache?

May 24, 2011

I've had a recent idea to have PHP take information from a form, save it to a file, which in turn is read from a local script as root (cron) which will create the user account, proper directories, add the website to the Apache sites, and reload Apache. anyone actually accomplished this before? And if so, can I get some links or some ideas to possibly help me on the process of getting started?

View 1 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

Ubuntu Servers :: Apache User_dir Mod And Home Directories - Automatically Set When User Account Created?

May 28, 2010

I want to automaticly set the group ownership of user home directories to a group that the user is not part of. This is so that Apache can be part of this group and can access user public HTML directory, but other users are not able to access in any way the files in the users home directory. What I have seen that works manually is adding the user and then changing the group for the home directory. But I want to automatically set this when the user account is created. WHat I see happening is that when /etc/skel is copied, it automatically sets the group and ownership of everything to the users default group and ownership. I've seen some suggestions on setting permissions, but these don't seem to work because it seems that users are able to cd into a directory and not list it, but if they know the file name they can access the file.

View 1 Replies View Related

Server :: Phpsite Not Showing Images (buttons) Home Server For Game Server?

Jan 6, 2011

i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public

View 2 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

Server :: Image Not Displaying On Webpage?

Mar 15, 2011

I'm using the "Beginning PHP5, Apache, MySQL Web Development" book from WROX to teach myself these processes. I'm a retired programmer and trying to keep my brain active. I've been able to get through most of the process and get things to work. But getting a picture upload and then display it is killing me. The picture is moved from the initial directory and placed in the destination but will not show on the web page, I get a place holder and all the information about the picture, but no pic. The MySQL is processing all the database stuff .I haven't a clue what is not working, Firefox, Apache or what. I'm running Fedora 14.

Here is the code I'm using:

Code:

upload_image.php
<html>
<head>

[code]....

View 11 Replies View Related

Server :: Samba Is Not Displaying Subfolders?

Apr 28, 2010

I have installed Samba and the Guest only share i've created works, I can connect and view, edit, create, delete files fine... However...I can NOT see or create subfolders.Google searches and playing around for six odd hours and no success...

----------smb.conf--------------
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed

[code]....

View 52 Replies View Related

Ubuntu Servers :: 9.10 Server Downloading PHP Files Instead Of Displaying Them?

Mar 17, 2010

I have an Ubuntu 9.10 server set up at my house. I have Apache2 and PHP5 installed on it. Every time I go to the server on a web page and try to load the PHP index page it downloads instead of displaying.

I have virtual servers set up and have the files stored at /home/cusinndzl. If anyone needs to take a look I can let them into the webmin panel.

View 4 Replies View Related

Software :: Download Some Images From A Website - Single Column Of Links To The Images?

Jul 26, 2010

I am running Linux from a DVD, not installed. I am not good with installing software, but since the DVD cannot be corrupted, I am content to operate this way. Lately, I have been having problems that previously did not occur. When I try to click on the checkbox to get rid of emails, it doesn't register in most cases, or when it does, I am clicking multiple times so it registers twice, meaning it is unchecked again. Even more frustrating is some issues that are affecting my ability to update my business. I am trying to modify spreadsheets (text not calculations).

Whenever I try to click & drag to select something to change, it keeps jumping around to select only some of what I want, something else or some combination of the 2. When I try to copy and paste several fields from 1 column to another, everything from the several fields in the source column ends up together in the last field in the target column. I am also trying to download some images from a website. There is a single column of links to the images. I have to click on the link to get to the image in order to copy it, then back out to continue looking for more links to do the same.

My computer keeps jumping back 2 steps, then forward 2 steps, and sometimes I lose my place in that list. I could deal with it if it were a small number of links, but this is a list of probably close to 20,000 links. Again, i am operating off of a live DVD so this should not be corruptible, but this has just started happening, and has been an issue the last several sessions.

View 14 Replies View Related

Server :: Rsync Files And Directories From A RedHat Host To A Windows Server 2003R2?

Jun 9, 2011

I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.

There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.

I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?

I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.

View 3 Replies View Related

Server :: Red Hat - Multipathing In Conjunction - Fdisk -l To Display One Lun Rather Than Displaying All 8 Paths To The Lun?

Aug 25, 2010

How to device-mapper multipathing in conjunction with fdisk. I am more of a solaris expert and now trying to grasp linux (red hat). I have a server that I plan to cluster (future assignment) which is attached to a Netapp SAN via emulex LPe11002 HBA. I have 8 paths to the LUN I created and I can see the multipath device (/dev/mapper/mpath1). Below is my multipath.conf file:

[Code]....

Question 1: When I look at fdisk -l, I can see all 8 paths to the same LUN. Although I partition /dev/mapper/mpath1, I can still see that 7 of the 8 still say "Disk /dev/sdX doesn't contain a valid partition table". I would think that all 8 would have this removed. I execute '/usr/sbin/lpfc/lun_scan all' and it doesn't work. I am looking to clean this up...what should I do? It seems weird to have to do it to all 8 paths!

Question 2: Why does my alias, 'db' not show up under /dev/mappers?

Question 3: Is there a way for fdisk -l to display one lun rather than displaying all 8 paths to the lun?

What is the standard procedure (commands) people execute when adding a new lun to a server with multipathing so it is nice and clean?

View 4 Replies View Related

Ubuntu :: Images Available 2.6.31-17 Generic And After The Download Is Complete Both Images Exist?

Jan 6, 2010

using the update maneger to update on ubuntu new linux images available 2.6.31-17 generic and after the download is complete both images exist in the grub menu should i remove them ? or just remove them from the boot menu ? and if so how could i do each.

View 6 Replies View Related

General :: Concatenate Several Images Into A PDF File With Several Images Per Page

May 2, 2011

I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file:

convert *png output.pdf

The problem with this is that each image is then stretched to fit on one page, whereas I would like to keep the original dimensions of the images and put as many as possible on one page in the PDF file before moving on to another page.

View 1 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

General :: Replace DVD / CD Install Images With USB Images

Sep 21, 2009

I am just spent half an hour hunting for a thing that should be totally available already:USB install images of Ubuntu, knoppix and all the others.And, the only good way are so far complicated tutorials where you extract the stuff from an CD image. Why??Hasn't everybody notices that CDs/DVDs are vanishing big time? That more and more systems don't have the readers anymore? Instead of following a 10 point instruction list, it would be nice to just be able to download a Ubuntu 8.10 or whatever USB image and be able to beam that DIRECTLY to a USB stick with a dd command.

Or am a missing something here? Does this exist?It should by no means be mariginal, considering how important USB stick in specific and flash memory in general have become.

View 4 Replies View Related

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

Ubuntu Servers :: 10.04 Web Server Not Sending Images?

Nov 7, 2010

I have been messing around with a template from Dreamweaver and went and uploaded it to my web server last night to see if it worked. the template works when i view it both on Dreamweaver and locally through windows explorer but when i visit go to the actual website either on the same network or elsewhere it shows up but is missing the background image.

my skills in html and css are good enough to try and troubleshoot this if it were a problem with the source code but as i have come up empty handed i believe it to be a problem with the server. mind you i could have missed something, if i did please let me know so i can smack my self in the head.

the domain is [URL].. should you want to view it. this is a new server only set up about a week ago and it is my first linux server. i have only ever had to deal with 2 windows servers and only a few linux desktops so i may need a few things explained.

View 2 Replies View Related







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