Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-18-2009, 07:31 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
User directories on apache

Hello, i have question anout users directories, i`ve created users and added public_html for each, enabled userdir module, and now i don`t know how to remove that boolean (~), when i try to go to users web. Now if i try to go to site i shoul write http://address/~user, but i want to remove that ~.

Sorry for my english
Old 10-18-2009, 07:53 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
The tilde (~) is required, no getting around it, for user directories (it's a replacement for the absolute path).
Old 10-18-2009, 09:12 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Moved: This thread is more suitable in Linux-Server and has been moved accordingly to help your question get the exposure it deserves.
Old 10-18-2009, 09:14 AM   #4
LQ Newbie
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
And there is no way to hide it? :/
Old 10-18-2009, 12:20 PM   #5
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Rewrite rules?
Old 10-18-2009, 06:15 PM   #6
LQ Newbie
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Can someone help me with those? I tried to use (in .htaccess):

RewriteEngine on
RewriteRule ^/~([^/]+) /$1 [R]

Last edited by Haschas; 10-19-2009 at 01:37 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User directories in apache bzlaskar Linux - Server 3 04-18-2007 06:23 AM
Apache user directories permissions Wordan Linux - Networking 9 07-14-2006 04:42 PM
Multiple website on Apache with User Directories Mr_Oz Red Hat 2 01-16-2006 08:20 AM
Per-user directories with password protection (apache) gwroy20 Linux - Software 1 04-27-2004 01:48 AM
apache 2.0 user cgi-bin directories JHuizingh Linux - Software 3 03-19-2003 04:58 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration