What will be the best way to rewrite the url that is pasted on http://pastebin.com/FWDiQLw1 so it arrives clean and short to the client that made the request?
Yes, I'm using opendir. I just pasted the part that matters of the script where I need to specifiy how to find out if the file I'm reading from the folder is executable.
I want to tweak a small program I'm creating. It will read a directory and if it finds a file inside the directory with an executable it should do something.
I just pasted here the section that matters to the program where I'm trying to detect if its executable.
Thanks for the assistance...
I'm using sendmail to send emails.
Let say user1@mydomain.com sends an email to doesnotexist@external-domain.com. Then the mail server gets bounce with the following information:
<doesnotexist@external-domain.com>
(reason: 550 Requested action not taken: mailbox unavailable)
-----...
I currently have a web site with an index.html file inside the Document Root. I also have the noindex.html inside the /var/www/error directory. From time to time for some reason the noindex.html shows when going to the web site even if I have the index.html file inside the Root Document.
Any...
I'm using postfix with postfix admin 2.1.0 and also the vacation.pl module.
I have implemented the vacation module but it seems this module is very buggy.
I have 2 issues with the vacation.pl I'm using.
1. It sends auto replies only to email addresses outside the domain name of the auto...
I had configured postfixadmin with the vacation module and suddenly stopeed working after one month.
I'm able to create the auto response message in the postfixadmin panel and everything gets added properly in the mysql vacation table. When the message is sent to the recipient the autoreply...
Thanks to everyone.
These are the steps that I finished following to get it working. The key thing is to login with the same user account on both machines.
Do the following on Computer A:
1. Enable Advanced File Sharing
2. Share the folder
3. On the sharing tab click "Permissions"
4. Add the...
I found the problem when using vyum to install mod_ssl. The link to the common repos directory was damaged. I fixed it and installed mod_ssl using vyum.
Still not working. The mod_ssl.so module is not listed under /etc/httpd/modules directory. When I restart Apache it complaints that the module doesn't exist.
Any more inputs?
I first ran this command:
vrpm myserver -- -qi mod_ssl
The output showed that the mod_ssl is not installed.
I installed mod_ssl running the following command:
vrpm myserver -- -ivh mod_ssl
It installs with no errors.
When I restart Apache it gives an error saying that the...
Hello Everyone,
I' currently using CentOS 4.4 on a virtual server from a web hosting company.
I tried using vyum to install mod_ssl but I get the following error:
[root@vhost3 etc]# vyum mail1 -- install mod_ssl
You are using a version of yum which is insecure and broken in chroot
related...
I added 'everyone' group to the list but I want to control the access per user. Computer A and B have simplified sharing off. Computer A can access the share at Computer B but Computer B cannot access the share on Computer A.
All I'm looking for is to get a login prompt when accessing the...
I have 2 win XP Pro PCs on a ethernet network inside the same workgroup.
Computer A has file and printer sharing turned on. Computer A can access a share on Computer B located inside the C:/Documents and Settings/Administrator.
Computer B has file and printer sharing turned on. Computer B...
In an office network I'm currently using a Linksys WRV54G router filtering PPTP and GRE to a Windows 2000 Advanced Server running RRAS.
From a remote location I can establish a PPTP VPN connection to the public ip address of the Linksys WRV54G router which takes me inside the office network...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.