Server :: Apache2 Not Serving Html Pages ?

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


ADVERTISEMENT

Ubuntu :: Apache Not Serving Pages From Subdirectory / Make It Possible?

Apr 11, 2011

I have Joomla installed at /var/www/joomla, if I navigate to http://localhost/joomla, I get a 404 error, but if I add index.php, the page loads. What is wrong?? Also I am not able to navigate to the administration part of Joomla for the same reason, typing in index.php doesn't load it in this case. Yes I have verified that all files are present in the directory.

View 7 Replies View Related

Software :: Apache Server Automatically Append HTML To All Served Pages?

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

Server :: One Of The Website Takes A Very Long Time To Load - No Traffic - Static HTML Pages

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

OpenSUSE :: Where Is The Man Pages For Apache2 In 11.3

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

Programming :: Done To Convert Html Pages To Pdf ?

Jan 1, 2011

Im new to linux Iam pursuing bachelors in computer science engineering.... my final year project is to develop a "html to pdf converter using linux"... i have some basic knowledge of commands used in unix

1) Where can i get the basic idea about the existing converters... their pros and cons...
.... programming...

2) Any kind of material or source where i can get basic idea of programming used for converting html pages that are linked into a single pdf..

View 1 Replies View Related

OpenSUSE Network :: PHP/Apache2: PHP Pages Are Just Blank

Jul 1, 2010

THIS ISN'T A SCRIPTING ERROR! I'M USING PHPMYADMIN (or trying to)! People on #httpd are useless for help.

Well, ir jus installed Apache2 and PHP5 on my openSuSE 11.2 server, and I just get blank pages for PHP, but HTML works fine. Ima jus guess this is a common error.

View 3 Replies View Related

Fedora :: Cannot Open Html Pages In Firefox?

Dec 3, 2009

I'm playing a game using wine that uses an internet browser style menu. One of the options that the game offers is to open the current game page with your external browser. I've used it hundreds of times when I was on windows and it worked fine and I was able to save the current page to a folder. Now that I'm using fedora the link doesnt work. It doesnt open firefox and it doesnt give me any message to let me know that it even recieved the request.

View 1 Replies View Related

General :: Cant View Html Pages In Firefox

Dec 2, 2009

I have fedora 12 and I'm playing a game using wine. To view a page from inside the games own browser(it has an internet browser style menu) there is a button that says "open in external browser" I've used it hundreds of times to save that particular page to a folder when I was in windows but now that I'm using fedora it doesnt do anything. Is this something I have to configure in firefox or could it be something else.

View 6 Replies View Related

Software :: Merge Linked Html Pages Into A Single Pdf ?

Mar 21, 2010

I have a book in html format, archived into one zip file. Starting from "index.html" there are links to the chapters, from there to sections, etc...I'd like to make a single pdf so I can annotate it with Okular.

I have found many tools to convert a *single* html page into pdf. But none yet that is also able to follow links between the pages in order to create a single document out of it. It would be nice if the links could be preserved. But getting it all into a neat pdf is really the most important.

View 7 Replies View Related

Ubuntu Servers :: Index.html Not Displaying On Apache2?

May 26, 2011

I'm having a bit of trouble getting my index.html to display. when i use [URL] and type in my dyndns url i just get "index of /" and not the index.html page

ive got a index.html in var/www and home/gav/public_html and set chmod -R 755 to the index.html

and still no joy....

gav@lapfrog:/etc/apache2$ gksudo gedit httpd.conf
Userdir public_html
Options +Indexes
Options All

[Code]....

View 7 Replies View Related

Programming :: Embedding Flash To Html Pages For An Rtmp Stream

Aug 2, 2010

I am having a streaming server Red5 running on localhost. I have a few HTML pages which should be serving those streams.

I read documentation given here [url] and [url]and the swfobject.js and player.swf are on same directory where the test.html page I created is present.

Following is the HTML code
Red5 is working on localhost.

Code:

View 9 Replies View Related

Programming :: Redirect Out Data From Console To Application Like Html / Web Pages

May 14, 2010

How system call internals could be known ? I mean for example if i take the example of write system call of linux kernel, where i can find out the code of write() system call in the kernel source tree ? The problem is write() system call directly write on console.If we want to write the data on some web page then write() system call will not do that ? How to redirect out data from console to application like html/web page?

View 6 Replies View Related

OpenSUSE Network :: Setup Fast Apache - Launch Static Html Pages

May 22, 2011

I would like to set-up a pretty fast a running apache. I would like to use him so to launch a pretty small web site of 10 static html pages. At this time there is no security concerns (even though I want to do it right) , because the computer has not even ethernet cable. I have some experience, 8 years ago I Was setting up virtual hosts in fedora, so this process is not a blackbox for me.

View 9 Replies View Related

Server :: Resolv.conf Was Edited, Server Stopped Serving Websites?

Feb 21, 2010

I'll preface this by saying i'm by no means an expert on Linux. A competant beginner at most.We have a dedicated server, the 'resolv.conf' was changed, specifically the domain that was listed (this is the primary domain).I only became aware of this change, when we get into work on Friday and all our sites were down - I attributed this to DNS fault as if I changed my host file (I work on a windows machine) and specifically routed to the domains to the correct IP address, the websites were served fine.I tracked down the resolv.conf change by quizzing a collegue. I then switched the resolv.conf file back to it's original state - luckily a backup was made so I am 100% sure that the current resolv.conf is the correct one.

change was made Friday morning, around 9.30am (UK time). It is now 5.05pm (UK time). The original change was made sometime on Weds afternoon, and the sites stopped serving between Thursday night and Friday morning.Does anyone have any idea how long it should take for the fix to be picked up? Will it be picked up? I just started to think that the change can't be picked up due to some DNS related voodoo.

View 4 Replies View Related

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

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Networking :: NFS Server Serving 3 Subnets And Routing ?

Apr 23, 2010

I have one main subnet 192.168.50.0/24 with a defaultrouter 192.168.50.1 connected to the internet. I have an NFS server on that network. Everything is working as desired and machines are able to see each other and access the internet.

Now, I would like to add two more interfaces to the NFS server (running Slackware Linux), each on its own different subnet, say 192.168.51.0/24 and 192.168.52.0/24. The clients on those new subnets should also be able to access the internet (through the router 192.168.50.1). how to setup routing? Do I need any additional hardware router in between, or just a software configuration on the NFS server?

On a side note I have VLAN capable switches (couple of ProCurve 1800-24G) and would like to separate the three subnets using VLANs instead of using three separate switches.

View 1 Replies View Related

Server :: Apache Is Not Serving Up Correct Page For Sub Domain

Aug 12, 2010

I have a domain, dns hosted, and apache serving up pages. this all works fine, so far. i even have a cms running. my confusion starts when i try to host a different site under a subdomain, ie. sub.mydomain.com.i have two vhosts in apache. one is mydomain.com and the directory is /var/www/mydomain.but, when i try to add another vhost like webmail.mydomain.com, and i try to put the root directory in /var/www/webmail, it doesn't work. when i try to access webmail.mydomain.com, i just get the site on mydomain.com.I feel like i am just missing something really simple here, but i have tried searching around for solutions to no avail.

View 4 Replies View Related

Server :: Apache Reverse Proxy Slow In Serving HTTP Requests

Mar 18, 2010

A Linux (CentOS5.3) server is setup with apache reverse proxy. The reverse proxy server is opened to outside and an internal server is mapped to ProxyPass configuration. SSL certificate is also installed on the Apache reverse proxy server. The problem is, it is extremely slow in serving http requests through reverse proxy. There is no problem with server resources or bandwidth. When the internal server is directly accessed through Internet, there is no delay. The backend server and the reverse proxy server are also on the same switch (same subnet). When I searched the Net, there were recommendations to enable cache in Apache. I did so as follows in httpd.conf.

<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3
</IfModule>

But still there is no progress. Do I want to enable cache in ssl.conf too? Or is there any other workaround to speed up Apache reverse proxy. Is there a way to check that caching is happening?

View 4 Replies View Related

Ubuntu Servers :: Ubuntu Server For File Downloading And Serving

Dec 2, 2010

I would like to run a small file server at home which I could connect to both remotely and within my own network. I was thinking of using something similar to a cheap dell optiplex machine (Pentium 3 or 4 2GHz?, with 256mb ram and a 40GB hard drive[will do something about the lack of space later]).The file server part of this should be straightforward but I wanted advice on how I could manage downloads on the machine. On my laptop I currently use both firefox's built in download manager and JDownloader. Sometimes Jdownloader isn't the ideal solution for all downloads, e.g. sometimes a single connection through firefox gets a faster download speed. I also occcasionally download torrents through Miro.

If anyone has setup something like what I'm suggesting, could you please give me a general idea of how best to go about this?

View 5 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

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

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

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

Server :: Apache2: Could Not Reliably Determine The Server's Fully Qualified Domain Name

Oct 24, 2010

Using Debian Lenny I'm getting the following message in my mail: /etc/cron.daily/logrotate:

Quote:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

View 1 Replies View Related

CentOS 5 Server :: Multiple Html Folders For Sandbox Server?

Aug 30, 2010

I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?

View 1 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

Programming :: Client Side To Include HTML Within HTML?

Sep 12, 2009

what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:

Quote:

<script type="text/javascript" src="path to file/include-file.js"> </script>

however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:

1) the fact that the included file is static html and because the text is included pretty much everywhere

2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.

View 1 Replies View Related

Server :: Apache Server - Adding Web Pages ?

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

CentOS 5 Networking :: 1 Nic Serving 2 Different Networks?

Oct 2, 2009

I have 1 switch 24 ports, but I need to test some app (vm) in my box, I don't want to use other NIC, because is difficult to get another switch and setup the that network.

My network run in 192.168.2.0/24

I want to have other network for my test app 192.168.4.0/24

the 4/24 will be where I will test some app(samba PDC), is possible to enble my machine with 1 NIC to connect in both networks if my nic have the IP 192.168.2.37?

I read about aliases, but it say that the alias must be in the same network.

View 2 Replies View Related







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