General :: Apache Error Whenever I Access Page / Fix It?
Nov 20, 2009
I am getting this error whenever I access the page:
Code:
PHP Warning: fgets(): supplied argument is not a valid stream resource
Any idea whats all about?
I explored and found it permission issue.
I want to put a user call paul in apache group.Any idea how can I do that?
View 6 Replies
ADVERTISEMENT
Jul 26, 2010
All has been fine with my emails but today morning when i tried to log on I got an error message "You must be logged in to access this page, go to logon page" I dont understand why even when i supply my correct user name and password.
View 2 Replies
View Related
Jan 18, 2010
I have an access database and I would like to build a website on the slackware 12.2 server running apache 2.11.14 to let users query data from the MS Access database. I am thinking that I could just do it in jscript and make a jdbc connection and that should be good. What do you guys think.
View 2 Replies
View Related
Nov 15, 2010
i'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.
View 4 Replies
View Related
Mar 18, 2010
I run Linux RedHat and want to find out how can I replace the standard Apache 503 error page with my own? This is my configuration in the httpd.conf file for error pages. Can I just edit the HTTP_SERVICE_UNAVAILABLE.html.var in /var/www/error directory and replace the content with my own , or how can I accomplish my goal?
View 3 Replies
View Related
Oct 22, 2010
I've configured in apache on linux to display custome error page for error 403.i just entered the following line in httpd.conf file ErrorDocument 403 /path/for/html/file...Here we are using Https.Any idea how to configure it so that the custom error page is displayed my .html file?
View 7 Replies
View Related
Jul 21, 2009
I was unable to access my dedicated server for few minutes. I have checked the apache error logs and found below notice:
[notice] caught SIGTERM, shutting down
I have tried to search from Google but could not find much information about this error.
View 2 Replies
View Related
Sep 1, 2009
But after it updated and I restarted the service, it's reporting 2.2.0 on any error page. Yet through yum it's reporting 2.2.13-1. Is that normal? I've only ever used 2.2.x, starting with 2.2.6ish.
View 3 Replies
View Related
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
Aug 11, 2011
I am trying to set up a web page for the business and we have had the website or domain for a while but no one has put anything on it. I have never done anything like this before so i typed in the website and got the apache test page saying that i should add this: /var/www/html/
1) i'm not really sure what to add it to
2) i've tried adding it to the website url and that comes up with invalid page
3) could someone please explain in simple terms how i can get on to the webpage so i can start adding content to it?
View 1 Replies
View Related
Nov 23, 2010
I not a total noob to linux only a noob to apache.I am Running A lamp server on A VPS with myhosting.com. but try as i might i cant apache2 to load the right page. I have set document root to /slk/redretriever/ but when i load the page it still loads /var/www/vhosts/default/htdocs/.I cant figure out why please help.
View 5 Replies
View Related
Oct 25, 2009
i have installed fedora 11..when iam opening my apache default test page using
http://localhost its opening but when iam trying to open the same using my ip address i.e. http://172.31.73.4 its not opening..instead iam gettin an error message like this in firefox
ERROR
The requested URL could not be retrieved....While trying to retrieve the URL: http://172.31.73.4/can anyone tell me whats the problem because till now i was using fedora 8 and while using apache i never got this sort of problem..
View 1 Replies
View Related
May 16, 2009
I am using following software on my web server:
RedHat 2.6.18-92.1.10.el5
Apache/2.2.3
Coldfusion 8
My webserver accesses a backend mySQL server using CentOS5
The last week, I have been getting a "page Load Error" on my web server whilst others told me they are getting a "broken link" error when they try to access my web site. It has been working fine for the last 12 months until last week.
ADSL, modem and router okay according to service provider (verizon)
I can ping my IP address and my domain name.
# netstat -tap
shows http and https both processes running.
# service httpd restart
no issues
I shut down firewall and tried again, but got the same "page load error".
View 3 Replies
View Related
Apr 22, 2009
I don't mind that apache logs "rotate". By that, I mean that periodically the most recent log is renamed "*.1" and the older logs are bumped up a number In my particular situation, I do mind that the log that was "*.4" is deleted rather than being renamed to "*.5" when that periodic renaming happens.
I know most of the other /var/log files have the same behavior. What does this? Can I change it so my apache logs are "rotated" up but aren't deleted? I know this will take some hard drive space, but I have a lot of it.
EDIT: CentOS 5.3, kernel 2.6.18-128.1.6.el5, Apache 2.2.3
View 1 Replies
View Related
Feb 8, 2010
I am sure this information is out there somewhere, but Googling apache access.log and hostname does not give you any good leads... so I hope someone here might be able to provide me with a quick answer...I am setting up a cluster of web servers, so I would like to name the access.log and error.log with the hostname of the individual servers to be able to distinguish one from another.
View 4 Replies
View Related
Sep 12, 2010
ok so i ran into a problem, im using web min to access my server, and im setting up postfix and, dovecot first problem is i want to be able to access my email account from a web page, with log in, so my question is how can i do that?
View 1 Replies
View Related
Nov 9, 2010
I have a Name-based virtualhost website in Apache, what i want to do is to disable direct ip access to the site and allow only through web address (www.mysite.com, and not through xxx.xxx.xxx.xxx). Or at least show a default page / not found page
I presume this can be acomplished with Mod_Rewrite and .htaccess but i just wanted to know if there is a more global option for this
I have googled this a lot but i can only find posts related to ip host restriction rules, which is not what i want
View 3 Replies
View Related
Dec 26, 2010
I have web server apache on linux Centos. I can access it successfully by typing on the address bar http://localhost, 127.0.0.1 or 192.168.0.150 from the local computer server and the site loads normally with graphic. When I access the site from another computer in the same local network, I don't get the correct website. I see the site like html as text not graphic. Please see below text file output from the browser: Also I can only access the site by typing 192.168.0.150 IP address in the address bar. When I type http://localhost or 127.0.0.1, the site does not come up. Do you see what I did wrong? How can I fix this problem.
View 7 Replies
View Related
Oct 18, 2009
I have been following the steps mentioned at [URL] Now I want to add authentication through .htaccess.
View 1 Replies
View Related
Aug 11, 2011
I am running a syslogd on my ubuntu 10.10 system. I have a apache2 server on the same machine. I have configured my apache2.conf file to send the error logs to the local syslog server.
The config is as under :-
LogLevel notice
ErrorLog syslog:local1
I have also configured the /etc/syslog.conf as under :-
local1.info /var/log/apache2/error_logs
I have created a file in the /var/log/apache2 dir with the ownerships and permissions as under:-
-rwxrwxrwx 1 syslog adm 77 2011-08-11 18:14 /var/log/apache2/error_logs
Next I restarted the sysklogd and apache2 servers with a service command as under:-
sudo service sysklogd restart
sudo service apache2 restart
I thereafter observed the /var/log/apache2/error_logs file and found the entries for apache2 closing down and coming up as under:-
Aug 11 18:14:14 cc apache2[4940]: [notice] caught SIGTERM, shutting down
Aug 11 18:14:19 cc apache2[5282]: [notice] ModSecurity for Apache/2.5.12 [URL] configured.
Aug 11 18:14:19 cc apache2[5282]: [notice] Original server signature: Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o
Aug 11 18:14:20 cc apache2[5285]: [notice] Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o Microsoft-IIS/5.0 configured -- resuming normal operations
Now the problem is I donot get any other messages thereafter. So it is hardly useful. How can I increase the logged messages from apache. I tried the facility:
local1.*
Then restarted the sysklogd and apache2, but the contents of the /var/log/error_logs file remained similar. Next, I followed the link. I created the perl script for recording access logs of apache2. I then restarted the apache2 and sysklogd. when I opened my website from a browser, the access log did not work. I think I am getting something wrong with the facility value , in apache2.conf it is ErrorLog syslog:local1 ! but the script is suggesting that it should be local2 in the line 4
openlog('apache','cons','pid','local2');
I therefore changed the script to local1 in above line. But still no access log?
View 2 Replies
View Related
Mar 4, 2011
I have an apache server and /var/www/html/index.html startpage working fine. But I want to have files accessed by apache in my /home/beny/ director.
View 8 Replies
View Related
Jun 12, 2011
I had installed and checked lamp stack last night but today when I type http://localhost the fodora test page for apache didn't come up. It is just blank. I had also configured apache to load after every boot.
View 14 Replies
View Related
May 7, 2011
Since I upgraded to 11.04 on my Server edition I have been experiencing some problems with my FTP-server and Apache. Apache just says that the page is "forbidden" if I'm not logged in on the server, which means I need to go to the server and physically log in or I can do it trough ssh but then when I close my ssh client on my work computer the page is "forbidden" again. And I cant seem to reach the FTP-server from an external address so I need to be in the network to access it.
It says something like:
Code:
An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.
200 Switching to ASCII mode.
227 Entering Passive Mode (192,168,0,194,233,166)
View 3 Replies
View Related
May 8, 2010
I have created a php page with only
PHP Code:
<? php echo "OK"; ?>
in the code. When I go to that page in a browser, I get a blank page. Is that normal, or am I suppose to see the word "OK" displayed in a browser? When I became curious, I open up Wireshark to capture the packets, I see that my server is giving out a "HTTP/1.0 500 Internal Server Error".
Here's the entire tcp stream:
Code:
GET /services/test.php HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 .....
View 6 Replies
View Related
Jan 7, 2010
When I try to start Apache2 (apachectl start) the command prompt returns right away. But when I check the processes (ps ax) I can't find httpd. And when I try to hit the server from a browser I get "the page cannot be displayed" error.
View 11 Replies
View Related
Sep 28, 2009
I have installed the CentOS 5.3 on VMWare. Then I Have Installed Apache ,PHP , Mysql with the flowing Command :
yum install httpd
yum install php
yum install mysql
yum install mysql-server
yum install mysql-devel
yum install php-mysql
Then I tested my Web Server , Data Base server and PHP Whit Create A PHP Page that work to Mysql this Test is successfully. Next I ping my machine IP (192.168.6.131) and then Ping windows xp machine. Even I Ping My Linux machine in Windows XP. But when check the PHP Page Or Local host in Linux machine whit Browser (IE or FF in XP), Response (IE:) Cannot display the webpage or (FF:) The connection was reset.
View 3 Replies
View Related
Apr 23, 2011
There are some log files that I wish to get some information from (Apache Access Log) but it is huge! All I need as of right now is any information from date and time A to date and time B. What commands can I use to extract this information from the access_log and put it into another file with just that information? I created a file called "access_info" by doing
Code:
touch access_info
but I was not sure where to go from there.
View 13 Replies
View Related
Jul 15, 2009
I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.
View 1 Replies
View Related
Aug 20, 2010
when I try to view my root directory of my website.if I go to URL... on my computer, it always loads the "It Works!" page. I deleted the original index.html page, and even replaced it - but if I go to URL... it KEEPS coming up.If I specify the page I want to view, ie.URl... it loads the right file.Is there a setting in the conf file that Im missing?
View 3 Replies
View Related
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