Quantcast

Maximum PC

It is currently Fri Dec 26, 2014 8:06 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Maximum length of a filename on Linux system runing Apache
PostPosted: Mon May 30, 2011 7:18 pm 
Willamette
Willamette

Joined: Tue Feb 01, 2005 12:17 pm
Posts: 1495
What is the maximum length that a file name can be on a Linux system (32-bit) running Apache HTTP server? (Server version is 2.2.17)

Additionally, can you do things like this:

Filename: connection.guest.php
or-
Filename: connection.guest.inc

Or do you have to stick to a filename, a period, and then an extension only?

Someone told me it was 24 cahracters (not including the extension), but I'm not sure if that's even true, espeically on a linux system. What is the recommended max that I should use for a web server on Linux running Apache?


Last edited by cbassett01 on Mon May 30, 2011 7:32 pm, edited 2 times in total.

Top
  Profile  
 
 Post subject: Re: Maximum length of a filename on Linx system runing Apach
PostPosted: Mon May 30, 2011 7:19 pm 
SON OF A GUN
SON OF A GUN
User avatar

Joined: Mon Nov 01, 2004 5:41 am
Posts: 11605
I don't know about the max length, but pretty sure you can do whatever the fuck you want.


Top
  Profile  
 
 Post subject: Re: Maximum length of a filename on Linx system runing Apach
PostPosted: Mon May 30, 2011 7:21 pm 
Willamette
Willamette

Joined: Tue Feb 01, 2005 12:17 pm
Posts: 1495
I'm sure pretty much anything will fly with Linux. I'm more or less concerned with potential issues with client computers viewing websites... I know obviously to try to use dashes not underscores, and no spaces in filenames, and that Linux file systems are case-sensitive (as in, use lower case), etc, etc.

Could a filename that excessively long or have an excessive number of periods in the filename affect a client computer's web browser or is that not even an issue?


Top
  Profile  
 
 Post subject: Re: Maximum length of a filename on Linux system runing Apac
PostPosted: Wed Jun 01, 2011 3:06 pm 
SON OF A GUN
SON OF A GUN
User avatar

Joined: Mon Nov 01, 2004 5:41 am
Posts: 11605
http://stackoverflow.com/questions/1547 ... 40#1547940


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.