Server :: Web Server Sees The Pages But Not The Folder That Has All The Images For The Pages
May 14, 2010
I'm very new to Linux, and I have ran a Windows XP server before, with a Apache2 Server software for Windows. and didn't have any problems with it, but I really want to set this server up with Linux.
The server is running, but the only thing that comes up in the browser, is the html pages, the pages call all the images from a folder /images/ but for some reason I can't get it to pull the folder up. None of the graphics show on any of the pages.
I also have a VirtualHost setup, and have another website set up in the DocumentRoot with the 2nd site, but it won't come up ether, even tho it is listed as the 2nd VirtualHost, and have that folder set up as the DocumentRoot.
I'm just using IP Addresses for now till I get this all sorted out.So if I enter the IP the main page comes up, just no graphics. if I enter the IP Address/2ndSiteFolder/ I get a directory listing with the 2nd site folder listed, so now if I click on the 2ndSiteFolderName, it comes up as IP/2ndSiteFolder/2ndSiteFolder/ Now the 2nd site comes up, and so does all the Graphics for that site, even if I go to some of the other subfolders site. So its just weird. I don't know what I need to do to get this to work right.
I know it has to do with setting up the folders for VirtualHost, I just don't know what it is. I have been working on this for a week, and I'm not getting anywhere..
View 9 Replies
ADVERTISEMENT
Feb 19, 2010
I have a Cent OS 5.4 32 bit final installed in my dedicated server.
I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.
Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.
Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..
View 2 Replies
View Related
Sep 9, 2009
when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.
View 6 Replies
View Related
Aug 15, 2010
I recently migrated to a newer server running centos5 and cpanel
I have imagemagick installed
I installed freetype as well
Most images display fine on web pages for accounts on the server, however, .gif images do not display.All I get is an image placeholder.
.png are fine
.jpg are fine
I have not tested all the possible varieties of images, but .gif I know is not displaying.I am sure its some kind of RPM I am missing or a configuration problem.
View 1 Replies
View Related
Oct 14, 2010
I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.
My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.
View 4 Replies
View Related
Apr 26, 2010
I want that squid error pages have the company logo. I edited the page called ERR_ACCESS_DENIED but the image doesn't show (image its in the same directory as ERR_ACCESS_DENIED).
I tried png and gif formats to no avail.
Also I found this but I don't get what the writer is saying so I cant do it.
http://www.creative.net.au/evil/squi...ge_pages.shtml
View 4 Replies
View Related
Aug 9, 2010
I have installed lighttpd from svn as
Code:
Then I created four directories
Code:
And ls -l for following is
Code:
So permissions are correct upto here.
Then
Code:
Changed the following to
Code:
To
Code:
Then
Code:
Now I run
Code:
I can see
Code:
lighttpd is running.
Following is lighttpd.conf [url]
I created some html pages in /var/lighttpd/ in a directory called jp (which I had made).
Permissions of Document ROOT
Code:
And the directory
Code:
I was not able to see the webpages [url] but I was able to see [url] so why I could not browse the directory jp
I am getting a 404 not found error. Where as the page exists.
View 4 Replies
View Related
Dec 13, 2010
Im using fedora 8 and have installed php5 ,and mysql and i see only php blank pages ,some idea? must be php.ini, but i am newbie installing php and apache, i disabled selinux, and grant all the permisssions to excecute..
View 3 Replies
View Related
Feb 11, 2011
authors recommended to upload pages of a site in a condensed form to the server to save in uploads and downloads by visitors. This involved removing all unwanted spaces and making one single string whenever possible.Is this approach still encouraged?Is there software that does that and respects the line-oriented scripts like Javascript embeded in HTML code?
View 1 Replies
View Related
Mar 20, 2010
I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80
The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?
View 14 Replies
View Related
Dec 24, 2010
I just did yet another fresh install of OpenSuse 11.1, (no DVD drive otherwise I would use the newer version), all updates have been performed, I installed apache2 and it's modules, php5 and some of the modules I needed, mysql, sshd for local only access, and webmin, postfix is used only for local mail between php scripts and the system, mainly because out-of-the-box, postfix is an open relay, and can take weeks to configure as an SMTP server, so I have to use php scripts that do not use a mail server, anyway.
The problem is, apache2 only seems to know how to serve php files, html files only get shown on ANY browser as source code not the contents.
I've been trying for 3 weeks,,, messing with this option, setting that option, and screwing up the system, hence reformatting and re-installing OpenSuse several times, so if anyone wants to try and get apache to serve html files properly and to have apache use mod_rewrite as default on ANY folder whether inside or outside the document root, I can give that person full ssh access. I've got to the point now, that I don't really give a damn what happens to the server.
What I should be able to do, is, leave the apache and php setting as default,,, upload either an html or php file to the document root and direct a browser to the address, and it'll work without changing a single item, the same is if that file has rewrite, it should work flawless, or if I upload an html or php file to a folder outside the doc root, I change the doc redirect to point to the folder, and it should work without changing anything else.
View 14 Replies
View Related
Mar 29, 2011
the web page will eventually open up or if i hit refresh 2.6.35.11-83.fc14.i686 bind version 9.7.3 i have disabled ipv6. using ie for browser.
[code]....
View 5 Replies
View Related
Jul 9, 2011
I am trying to set up my Apache server with FastCGI as the CGI engine. It will be mostly running PHP, but I may add Perl or something else later. I started from a completely fresh install of Ubuntu 11.04 with every update available. I used the install CD to install a LAMP server as part of the system install.I am using the tutorial at URL...to add the FastCGI functionality. I am having some problems with getting everything to work.The first problem was that apache2-suexec-custom wouldn't accept a different document root. I fixed that by compiling apache2-suexec from source with the document root changed to the correct path.
The next problem is that every php page I load throws a 500 error. Apache's error logs show that FastCGI isn't returning the page data correctly to Apache.
View 1 Replies
View Related
Sep 18, 2010
I am experiencing a problem which I lack the knowledge to crack at this stage. I run a home server (2.6.28-19-server #64-Ubuntu SMP) which firewalls and proxies for my LAN (including 2 linux boxes, a vista box and a win7 box).Most of the time this works well. Very occasionally we will run into a website which will not display at all on the LAN boxes.Examples: for a long time I could hit the forums.egosoft.com site but not the egosoft.com site. Now my wife can't hit www.boden.co.uk. I'm pretty sure that the problem is in the Squid3 config. solation testing:Run the vista box direct into the ADSL modem: get the website.Hit the website using Lynx through SSH on the server box: get the website.Try to get the site on a browser (have tested with IE8 and chrome) on any of the win boxes through the proxy - no joy. DNS error.Firefox on Ubuntu desktop from the linux client boxes gives an error message about an unrecognised form of compression.I can only assume that I've misconfigured the Squid3 proxy in some way - it works for 99% of sites but fails utterly on others.
View 9 Replies
View Related
Jan 5, 2011
Suppose when I install squid proxy server Can I view the web pages visited by a particular user/machine in a particular session? I think we can analise the information by the log files of squid. But can I view the page(static)?
View 6 Replies
View Related
Jul 28, 2010
I installed PHP 5.3 from remi repository and now some PHP pages end up as blank pages. Joomla pages load with no problem but iDevAffiliate pages end up as blank pages. Could it be something in the php.ini file? I have no idea where to look. Any ideas?
P.S.: I run CentOS 5.5 and MySQL 5.1
View 4 Replies
View Related
Aug 11, 2010
I have downloaded the Apache web server so I can set up a local web server to test my PHP pages. The download automatically went into the default "Downloads" folder instead of the /opt folder where the Apache instructions said to download the file to. I have tried to move the file from the Downloads folder to the /opt folder but am denied access - says I don't have enough privileges (or some such thing?). Bummer.
So I tried to use the terminal to install the file that I downloaded from Apache (following their instructions - actually copied/pasted the command line so there would be no typo problem) - no joy.
The first thing I was instructed to do was to enter the su command, which I did, and was asked for a password. I have tried every password I have ever used on this system and I receive the following:
su: Authentication failure
and it returns me to the prompt. What is my password?
I checked the archives for similar problems and came up with zero relevant hits.
View 9 Replies
View Related
May 16, 2011
I just tried changed the port that apache runs on from 80 to 8080 (I need port 80 for a difference service so I am changing the apache port). After doing this I load 127.0.0.1:8080 in a browser and get a 404 error generated by apache, if I change it back to 80 it works fine.
View 2 Replies
View Related
Aug 13, 2010
I have 2 servers that are mirrored. They host 3 separate websites. Two of these websites are regular HTTP and the other is HTTPS with Digest authentication as well. The reason there are 2 servers is because one is a primary and the other secondary in case the primary goes down. Recently I decided to upgrade the secondary server then make it the primary server. I have done most of the configuration and the sites using regular HTTP are working perfectly fine. The page using SSL is not. Apache fails to load and here are the errors I am receiving the the error log file:
Code:
[Fri Aug 13 09:27:00 2010] [warn] RSA server certificate CommonName (CN) `newserver.domain.com' does NOT match server name!?
[Fri Aug 13 09:27:00 2010] [error] Unable to configure RSA server private key
[Fri Aug 13 09:27:00 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
For the first warning, I cannot find anywhere that says the CN "newserver.domain.com", only what the CN is in the SSL key. I have no idea where to even start with the other errors.
View 1 Replies
View Related
May 14, 2009
Most of my googling odysseies lead me to articles which talk about compiling apache & php from the source as this is touted to be more flexible. But the problem we have is this...we already have an apache 2 web server running. Now how do we serve php pages of it.
View 1 Replies
View Related
Oct 2, 2015
I want to start using squd3 as proxy server for one of my network 192.168.6.0/24
I was try using some configurations but http pages not loaded.
View 0 Replies
View Related
Jan 26, 2011
I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
My site is at [URL]
Here is the output of ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
[Code]....
View 4 Replies
View Related
Jun 18, 2009
I want to put Google analytics code on all legacy pages on my server, most of them don't have a template so I was wondering if Apache can automatically append the code.
View 2 Replies
View Related
May 27, 2010
I am using KVM and created four guest Operating systems on it. The server host is Ubuntu 10.04.I am using 4 websites in a reverse proxy environment. One of our website is running on CentOS VM. Right now there is no traffic on the website static HTML pages. I do not have any clue as why it was taking longer time to be accessed.
View 17 Replies
View Related
Jan 13, 2010
im trying to send pages of 4096 bytes from kernel layer of server to kernel layer of client over a network. previously i tried the foll. code , for data less than a 100 bytes it worked fine , but for something larger than that the computer hangs......(even the dmesg's wont say why) i also wanted to know how we could use the 'sendpage' function to solve this problem.
Code:
CLIENT'S KERNEL MODULE
struct iovec iov;
char buf[1024];
[code].....
View 1 Replies
View Related
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
Aug 3, 2010
I installed apache2 with 'zypper in apache2 apache2-doc' and there's no man pages,
tried
man apache2
man apache
man httpd
View 4 Replies
View Related
Feb 10, 2010
I tried to make that as short and descriptive as I could. There are certain web pages that I try to visit on my Linux computer that either respond after more than a minute of waiting for a response or, more often than not, simply do not respond at all - leaving the browser "waiting for xxxxx". Yet when I try those same pages on my GF's Windows computer, connected to the same router/DSL connection, the pages load quickly and without problems. Both systems are running Firefox.. One of the pages, for reference, [URL]..
View 5 Replies
View Related
Feb 24, 2010
I've just installed Ubuntu 9.1 amd64 and I have a problem with acces to some web pages (i.e amd.com, adobe.com). I looks like bowser load a page but then stopping it last infinitely. I have Ubuntu 9.1 x64Atheros wireless adapter connected to ZyXEL access point.Parallel Windows machine which connected to te same router has no prblem with access to those sites. I tried different browsers, different setting of DNSeven set up different versions of 9.1 (x64, x86)
View 2 Replies
View Related
Apr 18, 2010
after wrestling with several problems over the past few days of switching over to a portable version of Linux 9.10 (I'm running a Live USB created using Lili USB), and deciding between the UNR or the Desktop i386 releases (I eventually went with UNR because i386 will not load on my netbook and ends up corrupting itself), I now find myself with the interesting problem that Firefox will no longer load webpages.I'm using a wireless connection, and it worked about 4 hours ago, but doesn't any longer. It registers that it is connected (The network icon displays the connected information), but the webpages themselves will not load (And I don't know if any other web based application functions- I only bothered to check firefox).
And I know the connection itself is not to blame because I'm using it right now to post this message (Off of Windows 7).Any help that can be given would be appreciated. Except for these problems that come up I'm loving Ubuntu, and intend to use it inbetween classes and such.EDIT:No internet applications work, and the router does assign me an IP address while in Ubuntu. Also, the speed of the "Server not found" message indicates that it's not even trying to connect.
View 3 Replies
View Related