|
|||
|
Stop mail going out as Nobody
Hi,
I need to stop my mail server sending out mail as nobody from the forums i host as all the emails to aol are being rejected how do i go about changing it from nobody to somthing else ? Any help much appreciated Dub |
|
|||
|
Thanks Izzee i tryed that and every site went down with a 500 error and i had searched the forums to find more info as you said i thaught i had the correct info but i couldent get it to work.
So ive build again without phpsuexec and all is back to normal gunna read more into it me thinks
|
|
|||
|
Hi
This is great, I tink only one part is missing or I did not see it: if you had PHP values in the .htacces file, they where recursive. This means they where also valid for the subdirectories. If you use now a php.ini file, they are only valid for this directory where you place the file, but not in the subdirectory. Michael |
|
|||
|
I enabled phpsuexec on php 4.4.2 but now many sites show a popup dialog "save file as".
What could cause this? I ran /scripts/chownpublichtmls and still getting 500 error 403 forbidden save file as popups Last edited by Secret Agent; 03-17-2006 at 01:16 AM. |
|
|||
|
can someone tell me is there a way to monitor email messages (well not the actual email messages but only headers) of who sent to whom?
i just use this command: tail -100 /var/log/maillog but can tail offer more options as in indicating a particular email address to monitor something like in the format username@domain.com ? pls. advise. i posted on this thread for i don't see any thing related to spam suspects or avoidance of it.
__________________
Directory |
|
|||
|
I got a little confict as shown below from a copy/paste message from a client
PHP code inside of html pages will only work if the file is named with a php file extension (filename.php and not filename.html). You will have to edit other pages that link to filename.html to reflect the php extension change. Example code for this issue: <html> <head> <title>PHP Inside HTML Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php print( "Hello" ); ?> </body> </html> Save the code as test.html will display a blank page. Save the code as test.php will display Hello on the page. ---------------------- This means a complete rebuild of all of my websites with a change between .HTML and .PHP extentions + this change will KILL all of my results in search engines, is there no way around this? I have worked very hard to promote www.mysite.com – it uses HTML files with PHP syntax in them and right now I do not know what to do. (I repeat: changing of the filenames will make all the promotion work I’ve done and all the money spend on a complete waste, that is not good) ----------------------- What can be done in this case if phpsuexec support is enabled? |
|
|||
|
Thanks what about this?
Client gets an error 500 All I can see in the error log is [Mon Mar 20 09:13:47 2006] [error] [client 68.142.xxx.xxx] Premature end of script headers: /home/client/public_html/client/index.php and index.php is a symlink 2 levels deep. I had alrady ran all the commands for chmodding There is no htaccess file in public_html php.ini is there with memory_limit = 128M upload_max_filesize = 10M default_charset = UTF-8 safe_mode = Off mbstring.internal_encoding = UTF-8 mbstring.encoding_translation = 1 mbstring.http_output = UTF-8 allow_url_fopen = 1 |
|
||||
|
check for any .htaccess files in the web and make sure they do not have any php directives in them as phpsuexec will error out
also make sure no directories or files are 0777 permissions beyond that without a lot more specific detail its going to be hard to tell also check your /usr/local/apache/logs/suexec_log for any errors |
|
|||
|
Another problem:
(quoting client) Since the security upgrade on server4 this morning, I am no longer able to access the mailing list archives. This URL is encountering the error code 500 that your note warned about, however the script is not contained in my home directory. I assume that you have aliased this to point to a server-wide installation. and Existing symbolic links are no longer working. Is there a work around for this? The index.html file is simply a symbolic link to passwordmaker.html, which is simply an HTML page with permissions of 644. I am not sure why this is now giving me an HTTP error code of 500 drwxr-xr-x 2 dmorlitz dmorlitz 4.0K Feb 14 19:34 password/ Last edited by Secret Agent; 03-20-2006 at 01:35 PM. |
|
|||
|
As for the other problem with the 500
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@client.com.es and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I tailed /usr/local/apache/logs/suexec_log [2006-03-20 12:20:24]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: index.php [2006-03-20 12:20:24]: error: cannot stat program: (index.php) [2006-03-20 12:20:29]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: viewtopic.php [2006-03-20 12:20:57]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: viewforum.php [2006-03-20 12:20:57]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: demo.php htacess <Limit GET HEAD POST> order allow,deny deny from cogentco.com deny from anonymizer.com deny from wideopenwest.com deny from proxad.net deny from sexnet24.tv deny from frb.org deny from 38.113.234. allow from all </LIMIT> # BLOCK blank referrer -AND- UA except for HEAD RewriteCond %{REQUEST_METHOD} !^HEAD$ RewriteCond %{HTTP_REFERER} ^$ RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule .* bad_referrer.php [L] # BLOCK *Faked* blank referer -OR- UA RewriteCond %{HTTP_REFERER} ^-$ [OR] RewriteCond %{HTTP_USER_AGENT} ^-$ RewriteRule .* bad_referrer.php [L] <Files 403.shtml> order allow,deny allow from all </Files> htaccess.org # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.client.com AuthUserFile /home/client/public_html/_vti_pvt/service.pwd AuthGroupFile /home/client/public_html/_vti_pvt/service.grp Last edited by Secret Agent; 03-20-2006 at 01:31 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|