Ubuntu Servers :: Apache Configuration - Designing Webpages In PHP
Feb 4, 2010
I'm using ubuntu 9.04, I want to design webpages in PHP for that I installed apache 2 on my machine. I'm using my mobile to connect to the internet when ever the mobile is connected and the wired connection established the server running properly. But when the wired connection disconnected my browser page didn't show the localhost home. How can I configure the apache on my machine.
View 3 Replies
ADVERTISEMENT
Jul 19, 2010
I am trying to configure Apache on my server to work with ssl, but everytime I visit my site, I get the following message in my browser: SSL connection error. Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. Just some background on the situation: I am using Ubuntu 10.04 desktop edition. I installed apache by installing zend server (it installed apache automatically). I then installed openssl. Non-https pages work fine on the site. I tried getting trial certificates from multiple certificate sites but nothing is working (same error). I was previously hosting my site on another server on which ssl worked just fine. I also tried using the key and crt file from that server, but I got the same error. The domain name and IP are still the same though. My SSLCertificateFile and SSLCertificateKeyFile are pointing to the correct directory and files.
View 3 Replies
View Related
Apr 7, 2011
On Ubuntu 10.04 with Apache and PHP installed, I can execute a test.php file
Code:
If I specify it on my Apache web server
Code:
However, I am not able to configure the web site to execute index.php automatically.
These are the settings I have.
Code:
View 2 Replies
View Related
Mar 24, 2010
I installed apache on my local machine to test my sites. I have one problem:I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.)Here is the content of the site configuration file:
Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost
[code]....
View 4 Replies
View Related
May 29, 2010
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
View 6 Replies
View Related
Feb 25, 2011
I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.
View 1 Replies
View Related
Mar 23, 2010
I am having problems while testing out squid proxy server. I just can't get it block anything. So, I'm running Debian lenny on my Virtualbox and Squid on it. I'm having windows 7 on virtualbox too and they can ping each other and the webserver on debian (apache2) is working fine. The problem is i can't get squid to block webpages. I have the correct settings on windows proxy settings, but i'm not so sure about squid. I want to block lets say www . xxx. com for example. So I add to the main configuration file:
[Code]...
View 3 Replies
View Related
Mar 4, 2011
I'm trying to create an archive of a websites images because it tends to go offline now and then. The problem is, when going to the image in full view, it opens it on a php webpage. I've tried using 'wget -m -A.jpg' but it only saves the thumbnails from the menu page instead of the actual images.
View 4 Replies
View Related
Oct 2, 2010
I just installed Debian with the latest testing iso, and I'm having problems connecting to the web via browser. I can ping hostnames (i.e. google.com, debian.org, etc.) from the terminal and it resolves just fine, but if I try to load a page from Iceweasel or Epiphany it says the page won't load because it can't resolve the hostname. Can someone tell me what I'm missing?the detail that I'm running amd64. I've checked iptables and found no entries, and for good measure I flushed it to be certain. I also checked resolv.conf but that looked normal, just a nameserver entry pointing to my home router. I'm new to Debian, but have used Linux for years, and I'm genuinely stumped. I'm sure the solution will smack me in the head for its simplicity, but nonetheless I need at least a shove in the right direction.
View 2 Replies
View Related
May 29, 2011
I'm really desperate as I have spent the better part of the last 10 hours trying to sort this out before my boss finds out
When I try and browse to one of our websites the browser wants to download the file as the server will not process the php file. I get which is a: application/x-httpd-php
What's really odd is that from inside the network where the server is located everything works fine, its only from the outside that this happens?
Everything was fine until I ran an system update from webmin that updated a ton of things including Apache2 and PHP5.
Its a self hosted server that was running UB server 9.10, but I have since upgraded to 10.04.2 LTS but no luck.
Apache version 2.2.14
PHP Version 5.3.2-1ubuntu4.9
Joomla 1.5 -latest
View 1 Replies
View Related
Sep 8, 2010
I am thinking of starting a business creating web pages and supplying a 'enterprise server' type solutions, whilst still being highly cost effective - eg recomend the client to use an 'old' pc for the majority of their server needs (LDAP, mail, firewall, web server etc). I plan on doing all of this on a linux platform, so as to pass the cost savings of related 'microsoft enterprise systems' to my clients ~ thereby making my proposition more interesting to clients. However I'm not sure if the 'old' pc idea will 'cut the mustard' in terms of serving web pages. So my real question is, at what point does the speed of the internet connection reach a bottle neck with the speed of my CPU? As an 'example' in case I'm not being very clear (which I'm not sure I am).
My old pc has an AMD athlon chip in it, and equally old 30GB and 40GB HDD (SCSI ~ did I mention that they are old!). My intention is to set up a system to the above type specification at home, to see how long it takes me to do, and to give me an idea of what I should charge clients. I understand all the technology, but initially (to save on personal startup costs) I was intending to use my old pc as my personal gateway to the world, $40 for the web registration for 1 year is a considerable saving compared to the $20 per month for a hosted service ~ although as soon as things are going and being 'profitable' I would most likely either upgrade my server or get a hosted service. Any tools I can download onto the server to 'determine' the power consumption over any given period?
View 8 Replies
View Related
Dec 3, 2010
When using Linux, like Fedora or Ubuntu, can WINE run Abobe Dreamweaver or Microsoft Expression or is there a program in Linux that has a similar user interface to Adobe or Microsoft? Further, does Amaya or Netbeans have free tutorials, or books or e-books? I need to adjust a Flash template, but things are going wrong with free trials of each, and I am concerned that if I buy the CDs that I may waste my money, as much as $600. I think WINE may run them, but Microsoft need net framework 4.0 and Silverlight, then the trial of Expression lasts 30 days.
View 2 Replies
View Related
Jan 20, 2010
I'm new to Unix and every signal handler algorithm I've seen is more or less a copy of what I'm trying to do.[URL] designing a signal handler with sigwait in UNIX?
View 1 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
Feb 13, 2011
I have installed and configured Apache (Apache2). And I have website running so I wanted to configure it to run with an IP Address And I Searched Google and I can't find it.
View 5 Replies
View Related
Aug 17, 2011
in order to share profiles between a Mahara and a Moodle installation I need to get OpenSSL working.
I've got OpenSSL installed on the server and followed this tutorial. However, I still get an error message saying that either OpenSSL or PHPs support for OpenSSL are missing: Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?
What would be the next steps to actually set up the Apache server and PHP so they can use OpenSSL? (I've already specified the path to my caconfig.cnf file in Maharas config.php)
View 4 Replies
View Related
Feb 10, 2016
I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.
View 6 Replies
View Related
Oct 8, 2010
I just installed a net-install of debian 5.0.6. with no GUI and Apache http d. Does anyone know where I can find or how to do a basic Authentication on my web server (user-name and password) I found some stuff but they include .HTpass (of Apache) etc etc, but I can't find them anywhere
View 1 Replies
View Related
Aug 15, 2010
I am configuring apche on rhel5, I got default page successfully, and virtual page too, when I keep only one file index.html in virtual folder it goes well, that file opens correctly, but when I keep other html files except index.html server shows default page again.
View 2 Replies
View Related
Aug 6, 2015
Since a few month, I upgraded my configuration to an Acer Aspire E 17 laptop. I dropped the Windows 8 that was installed inside by default. Right now my hard disk looks like that :
- A Windows 10 Installation form the final released version's iso
- A Debian 8.1 Installation with Gnome 3.x as desktop
As I am a developper, I enjoy Debian, the power, and the capabilities unlocked with Linux systems. However, I still need my Windows installation for design work, making templates, etc. For now, I need to boot Debian if I want to code, and to boot Windows if I want to use some proprietary programs such as Adobe's softwares. For a lot of reasons I can explain, I don't want to use alternative like Gimp, and I don't want to run so big softwares under Wine.
So, I want to do the following : I want to create a little partition formatted in ext4 on my disk (something like 10gb ?) and make this partition running my local configuration of Apache 2. This way, I could run my webserver, with the same files both on Debian (when I need to code) and Windows (when I need to design / template and to test some stuffs into my templates files). I could mount this partition under Windows using ext2fsd program, but this way of thinking supposes there is both Apache's linux binaries and Apache's windows binaries to run and manage the server in this partition (making something like a " portable " version ?) .
View 4 Replies
View Related
Mar 3, 2011
I haven't used Plone in quite a while and am having problems getting Apache to serve it up now. I'm using the same configuration that I used for proxying Plone sites for a couple of years, but now that same configuration now gives me the following error in Apache's error log: [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.Here's the proxy modules I'm loading for troubleshooting purposes for now.
apache2ctl -t -D DUMP_MODULES | grep proxy
Syntax OK
proxy_module (shared)
proxy_ajp_module (shared)
[code]....
I've Googled this extensively and it seems most people who ran into this problem hadn't loaded the proxy_http module after upgrading to Apache 2.2 from 2.0.
Edit: BTW, I'm using Plone 4.0.3 now. I was running Plone 2.5 before. I don't see why that would be a problem though as VHM's are now built into Zope.
View 1 Replies
View Related
Mar 29, 2011
'm using Debian 6 (Squeeze) and I'm trying to migrate away from Apache to Nginx, but my Nginx installation seems to be showing some weird behavior.
aptitude install nginx-extras
/etc/init.d/apache2 STOP
/etc/init.d/nginx START
the configuration file /etc/nginx/global.conf syntax is ok [alert]: mmap(MAP_ANON|MAP_SHARED, 33554432) failed (28: No space left on device)
configuration file /etc/nginx/global.conf test failed
View 7 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
Apr 28, 2010
If any one knows about Apache-Tomcat installation.
View 5 Replies
View Related
Sep 30, 2010
i have several sites hosted on one machine (Apache 2.2 on Debian). They are configured at /etc/apache2/sites-available/ with this configuration (part of it):
RewriteMap lowercase int:tolower
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]
RewriteRule ^(([^./]+.)?site1.com)/(.*) /www/site1.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site2.com)/(.*) /www/site2.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site3.com)/(.*) /www/site3.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site4.com)/(.*) /www/site4.com/www/root/$3 [L]
[Code]...
View 1 Replies
View Related
Jun 16, 2010
I am trying to configure simple tomcat with apache in rhel5. How can I do the same.
View 4 Replies
View Related
Aug 16, 2010
CentOS 5.5 + Apache 2.2(httpd.conf) + SSL confiuguration(ssl.conf) gives following error in FireFox.Secure connection failed.An error occured during a connection to localhost.SSL received a record that exceeded the maximum possible length.Errorcode:s_error_rx_record_too_longThe page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
View 1 Replies
View Related
Mar 4, 2010
I'm having trouble implementing SSL on a AvantFax login screen. I've created the the certificates and keys and have them stored in /etc/apache2/ssl and I'm sort of stuck now. I've been following a guide but any changes to the conf files leads to errors. The system I'm using is Debian 5.0
[Code]...
View 2 Replies
View Related
Oct 16, 2010
my server into the public internet and must have my webserver [2.2.9 (Debian)] act secure. But this does not look very easy [I am searching, reading and working on it already the whole day ]. I read the apache docs, but there is a lot of stuff, which is different in Debian [lenny, 5.0.6]. Apache ignores the host-header given by the browser: [URL] are all served, but should be blocked. I new new to apachy, but on my IIS this works as expected. All browsers act equal [so no browser header problem].I configured two VirtualHosts, an excerpt:
NameVirtualHost hugo:80
<VirtualHost hugo:80>
DocumentRoot /usr/share/doc
[code]....
The I go to my hosts file on any box, and add hugo's ip-address under the new name x. Then, x is served, although the host-header in apache Every user coming from the internet could make the same!
View 13 Replies
View Related
Mar 10, 2011
In a squeeze box, I installed awstats and it's working like a charm. Its cron job update the awstats database every 10 minutes (as it runs as root). But I would like to be able to update the statistics from the browser as well. So I setup everything as required and I gave "read" access to "others" to every apache log file. Now, a couple of questions came to my mind:
1. Am I compromising server's security giving "read" access to "others" to apache log files?
2. Instead of giving "read" access to "others", I could add www-data user to adm group (as apache log files are owned by root:adm and permissions are rw-r----). Is this more secure than giving "read" access to "others"? 3. If the option would be giving "read" access to "others" at the end, a log file would be owned by root:adm and its permissions be rw-r--r--. As apache rotates its log files, when Apache create a new log file, does it preserve the permissions (rw-r--r--) or create it with the default permissions (rw-r-----)?
View 1 Replies
View Related