- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cgiwrap problems, is there an 8 character limi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 11:24 AM
01-12-2004 11:24 AM
cgiwrap problems, is there an 8 character limit for usernames?
Its been a while but I've run into a weird problem, I have a bunch of vhosts on a machine running:
-apache 1.3.20
-cgiwrap 3.7
The problem I have is that some users get the familiar error,"premature end of script headers" when they try to run cgi scripts via cgi-wrap. If I take their script and copy it to my own users (dave) virtual hosted cgi dir, I can run the script no problem, copy it back and chown it back to the other user "victorian" and it fails to run. When I run the cgiwrapd to debug it I get no output and no errors. I am just grasping at straws right now but I think it may be related to the number of chars in the username. I seem to recall an apache bug of the same type, perhaps cgiwrap has the same thing?
Anyways any help would be appreciated.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 11:36 AM
01-12-2004 11:36 AM
Re: cgiwrap problems, is there an 8 character limit for usernames?
I've got users that are longer than 8chr's and don't have this issue, but using a newer apache (can't recall what version of cgiwrap I'm using off the top of my head).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 12:51 PM
01-12-2004 12:51 PM
Re: cgiwrap problems, is there an 8 character limit for usernames?
RewriteEngine on
RewriteCond %{HTTP_HOST} !^209.5.184.230(:80)?$
RewriteCond %{HTTP_HOST} !^secure.blacksun.ca(:80)?$ [NC]
RewriteRule ^/(.*) http://secure.blacksun.ca/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/.sites/70/site4/users/$1/web/$3
I hope this renders properly.
In case it doesn't heres an attachment text file.
thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 02:19 AM
01-13-2004 02:19 AM
Re: cgiwrap problems, is there an 8 character limit for usernames?
My Red Hat Linux Systems all universally ignore any characters in a username after character 8. Just a note in case you're concerned.
If I create a user called jerusalem (9 char) and then try and log on as that user its real name is jerusale
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 01:37 PM
01-13-2004 01:37 PM
Re: cgiwrap problems, is there an 8 character limit for usernames?
I started toying with usernames on this machine, created many many 9 character usernames.
The cgiwrap fails if the ninth character is any one of the following letters:
c, o, n, g, p, w
This is not a prank, and I am at a loss as to why that would happen.
Next thing I tried was a ten character user name that had the ninth character of the user name "o" and it too fails with the dreaded "premature end of script headers"
So I don't know where to go from here. What would cause something so arbitrary?
Thanks guys,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 02:27 PM
01-14-2004 02:27 PM
Re: cgiwrap problems, is there an 8 character limit for usernames?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 05:37 PM
01-14-2004 05:37 PM
Re: cgiwrap problems, is there an 8 character limit for usernames?
(Just a guess, but combining your problem with SEP's note, that might be it...)
Why it is only not allowing those characters, but allowing others, I don't understand. But on most unix systems usernames are limited or truncated after character 8, with some weird side effects... This might be one of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 12:24 PM
01-20-2005 12:24 PM
Re: cgiwrap problems, is there an 8 character limit for usernames?
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 12:24 PM
01-20-2005 12:24 PM