| View previous topic :: View next topic |
| Author |
Message |
hscorp
Joined: 12 Nov 2008 Posts: 117
|
Posted: Nov 15, 2008 11:46 pm Post subject: spaces in user names got File Not Found |
|
|
for example my user name is Mai Share
so my page will be
http://www.maishare.com/Mai Share
if you tried to open it you'll get File Not Found error
so whats the solution ?
regards |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1901 Location: UFO Lab
|
Posted: Nov 17, 2008 7:46 am Post subject: |
|
|
Try this one: in htdocs/.htaccess find line
| Code: | | RewriteRule ^([0-9A-Za-z\-_]{4,64})(/[^\/]*/?|$)$ /cgi-bin/index.cgi?op=user_public&usr_login=$1&fld=$2 [L,NC] |
and replace there
with
|
|
| Back to top |
|
 |
hscorp
Joined: 12 Nov 2008 Posts: 117
|
Posted: Nov 17, 2008 7:14 pm Post subject: |
|
|
worked fine
i think you should edit it in the next version
regards |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1901 Location: UFO Lab
|
Posted: Nov 18, 2008 1:47 pm Post subject: |
|
|
| I think I should restrict usernames to not allow spaces. |
|
| Back to top |
|
 |
|