Users web space with SuSE and Apache

Discussion in 'Server Operation' started by ggouts, Mar 6, 2006.

  1. ggouts

    ggouts New Member

    Hi all,

    I' ve a simple (perhaps stupid) question. I' ve just set up my SuSE 9.3 server, so all users have their own web space http://www.mydomain.gr/~username.
    I'd like to tell me if there is a way not writing the ~ character in front of username (i.e. http://www.mydomain.gr/username) with Apache.
    And a second one: Is there a way to make an alias for these usernames, only for Apache.

    Thanks a lot,
    John
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I guess you have something like

    Code:
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
    in your Apache configuration. Remove the ~ from it and restart Apache.
     

Share This Page