Geting Top To Display Script Name Or URL
Jul 3, 2008
Is there a way to get the URL or script name to display in top?
On other servers I've seen some top output using -c which would list the name of the PHP script being run, for example:
nobody 19 4 36796 17m 4656 S 0 1.7 0:04.60 /usr/bin/php /home/site/public_html/index.php
How do I set that up? Is it possible to do it for httpd also?
View 5 Replies
Jul 30, 2007
I tried to display all email trail. (last 3000 email log)
I used ssh secure shell, and putty.
However, both softwares don't display all the list. (only 200?)
I can see in the beginning, but it just scan those then no display.
Should I change setting?
How many rows to display?
I don't see those option
View 4 Replies
View Related
Oct 13, 2007
I would to know how I can change the display permissions for my website sub folders and files from public view, for instants
The current is you can access to any folders or files once trying access to any folders in my website like open this link www.yoursite.com/photos/ will see all sub-folders and files in this “photos” folder also you can see the other folders in another level by going to the top level folders!
but I think there is a way to enforce my users to write the full path of any selected photo or file they want without browsing my folders and sub-folder.
View 8 Replies
View Related
Oct 6, 2009
About the 28th September the host that I was with decided to move servers and did not inform me of this. They tried moving my site and after 18 hours of being offline decided not move my site. It came back offline, only the main page displayed but nothing else works, if you click on anything it goes to 404 page error. Only problem is, the page is displaying data up to 23rd September.
I have a blog and a forum connected and both seem to have lost all the data from the 23rd to 28th September. I have since moved host since the previous host not only did not inform me that they were moving, they didnt even bother taking a backup. I have been with my new host for over a week now so the propogation is definitely complete. Now the problem is whenever I open my blog, it keeps pointing to 23rd September (I have added a lot of posts since then). If I refresh the page, then it will show the latest posts. This is not a problem with the forum though, it works fine.
View 14 Replies
View Related
Feb 28, 2014
I have installed Apache httpd and setup a SSL/TLS connection. SSL/TLS is working without a problem. I can clearly see httpS address in browser.
What I have found out that if browser gets some SSL/TLS error like trying to establish SSL/TLS connection with old protocol and web server refuses connection there is no error in SSL/TLS log recorded. I would like that every SSL/TLS attempt with error is recorded in ssl_error.log file. How to define settings in Apache config files to enable SSL/TLS error logging?
View 1 Replies
View Related
Oct 16, 2014
The server authenticates the FTP login, Plesk Panel shows the session, but none of the FTP's display the folder. Whats the command to reset FTP connections.
CentOS 7 + Parallels 12.0.18 I've found articles for older versions or CentOS 6, but those commands no longer work...
View 1 Replies
View Related
Jan 12, 2009
I can not get a .JSP page to display on a deluxe hosted GoDaddy account. I have tried the most basic page. Just to make sure I do not have a type-o, I even used an HTML page to direct me.
Here is the HTML page that has the hyperlink. This page displays fine.
Code:
<html>
<head>
<title>Test</title>
</head>
<body>
Here is a test page
<a href="test.jsp">Test JSP</a>
</body>
</html>
Here is the JSP page that can not be displayed.
Code:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
[url]
<html>
<head>
<title>Test</title>
</head>
<body>
Here is a test JSP page
</body>
</html>
When I click on the link, I get the HTTP 400 error saying the webpage could not be found. I know the code works since I have tested it locally. Plus the code is very simple.
I am very stumped here and have tried GoDaddy’s help multiple times. They keep telling me it is a scripting issue. I am not sure how it can be a scripting issue because there is no script here. Basically, it is an HTML page with a .JSP extension.
View 11 Replies
View Related
Aug 31, 2008
we have a site, x.com and it hosts videos, we want to serve these videos using lighty, however, we can't seem to get it to work at all, The current setup is Cpanel with Apache so we want Cpanel + Lighty(only for flvideo.x.com) and Apache for everything else, im running lighty on port 8080, we've tried different ports for the sake of trial and error.
This is the configuration that we have:
# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
############ Options you really have to take care of
####################
## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
"mod_userdir",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog" )
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/home2/x/www/flvideo/"
## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"
# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
## set the event-handler (read the performance section in the manual)
# server.event-handler = "freebsd-kqueue" # needed on OS X
# mimetype mapping
mimetype.assign = (
".rpm" => "application/x-rpm",
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jar" => "application/x-java-archive",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar",
# default mime type
"" => "application/octet-stream",
)
# Use the "Content-Type" extended attribute to obtain mime type if
possible
mimetype.use-xattr = "enable"
## send a different Server: header
## be nice and keep it at lighttpd
server.tag = "lighttpd"
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"
## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"
## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
# of the document-root
url.access-deny = ( "~", ".inc" )
$HTTP["url"] =~ ".pdf$" {
server.range-requests = "disable"
}
##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
######### Options that are good to be but not neccesary to be changed
#######
## bind to port (default: 80)
server.port = 8080
## bind to localhost (default: all interfaces)
server.bind = "flvideo.x.com"
This is the weird part, if we lynx x.com:8080 it will display the html file inside the docroot, if i go x.com:8080 on firefox or internet explorer the connection gets reset and internet explorer throws a "cannot display page" error,
View 1 Replies
View Related
Dec 10, 2014
I am running two Apache web servers:
- moodle.myCompany.com (Moodle site)
- content.myCompany.com (web server)
I am trying to display a page, from the content site, through an iFrame, on the Moodle site, and am getting a console.log error message of "Refused to display 'http://subdomain.myCompany.com/index.php' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."
I have been doing a lot of reading and it sounds like the X-Frame-Options is deprecated and that I should be controlling things through Content-Security-Policy and frame-ancestors. How do I allow content from a sub-domain to load into an iFrame on my moodle site?
View 1 Replies
View Related
Jul 1, 2015
On the page /smb/email-addresses/list (for each domain) there is a list of email addresses with a usage bar graph on each line.
Last week, all mail was deleted from some of the accounts, but the bar grpah has not updated.
One of the mailboxes shows 495mb, but du on the qmail directory shows it has only 9.
How can I get the Usage column to report correct data?
View 1 Replies
View Related
Jan 24, 2014
I have Plesk 11.0.9 From Godaddy.
I have a problem in PHP Errors Log/Display in PHP 5.4.15 FastCGI
In my configuration "C:Program Files (x86)ParallelsPleskAdditionalPleskPHP54php.ini"
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
In my Plesk Web Panel Settings For the domain
error_reporting 32767 <- For 5.4.x
display_errors on
log_errors on
I made a PHP error in test file
Code:
<?php
echo eeeee;
?>
It should give me error in line 2 [ Display & Log ] the error. but it don't do anyone of them it gave me 500 Internal Server Error and it's not logging the error to the directories
C:inetpubvhostsDomain.comstatisticslogs
OR
C:Program Files (x86)ParallelsPleskadminlogsphp_error.log
C:Program Files (x86)ParallelsPleskadminlogsphp_error.log <--- Successfully logging Errors Like
[14-Dec-2013 13:12:07 UTC] rrdtool execution failed: ERROR: fetching cdp from rra
But don't logging the websites errors....
View 1 Replies
View Related
Apr 17, 2009
I have some customers who use a VPN to connect to the internet securely. (They live in a restricted country.)
So when they connect to the VPN, it gives them a new IP, and when they go to "whatismyip.com" it shows the IP of the VPN server, as expected.
The problem is that sometimes their IP changes back to their local ISP without any indication. The VPN still appears to work (green lights are displayed in the VPN icon in the sytem tray), but their IP is now the local ISP providers, which means they are not fully "protected" any more.
And that is bad.
So, what I'm thinking is to find a Windows program or script or something that runs every x minutes.. and checks to see what is the current IP. If it isn't as expected (the VPN server's IP), then a big red warning window would start flashing on the screen, so they can then reboot or restart the VPN.
Does anyone know of such a program?
(BTW - they are using openVPN, latest version. And yes -- it works properly 99% of the time.. but for some reason the IP just changes back to local ISP for no apparent reason. The log does not show any errors or helpful indicators.)
View 2 Replies
View Related
Feb 1, 2015
Using Plesk 12 with an automated install of Wordpress. Created a site locally using wamp and after some database related issues finally managed to upload the content using a plug in and the content looks fine and largely(!) works.The directory structure is root/httpdocs/wordpress (and I can't change that as a webapp is using it - presumably the Wordpress install).
Following various articles on the net I've deleted the Wordpress skeleton files and index.html file however I'm not entirely sure whether the index.php file should directly be under root or in the httpdocs folder?? - as wherever I put index.php and edit the path accordingly it doesn't display the site.Adding the wordpress folder into the site address ie mysite.com/wordpress displays the content.
Also one article indicated that as I'm using permalinks I need to also copy the .htaccess file but it doesn't display in the Plesk file manager. I know it's a hidden file but I can't see it either when forcing FileZilla to show hidden files.[edit - as it's a windows server, further reading indicates it should be web.config rather than .htaccess (?) but the same comment applies... imh]
View 1 Replies
View Related