Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: htaccess not working
PostPosted: Fri Jul 05, 2013 11:20 am 
Offline
Newbie

Joined: Fri Jul 05, 2013 11:18 am
Posts: 4
for some reason the htaccess in my new website is ignored..

Thank you


Top
   
 Post subject: Re: htaccess not working
PostPosted: Fri Jul 05, 2013 12:24 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
For some reason, you're under the misunderstanding that you've provided any where near enough details for anyone to help.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
 Post subject: Re: htaccess not working
PostPosted: Sat Jul 06, 2013 5:28 am 
Offline
Newbie

Joined: Fri Jul 05, 2013 11:18 am
Posts: 4
Sorry :-)

virtual host:
Code:
<VirtualHost *:80>
  # Admin email, Server Name (domain name), and any aliases
  AllowOverride All
  ServerAdmin me@mysite.com
  ServerName  www.mysite.com
  ServerAlias mysite.com

  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.html index.php
  DocumentRoot /home/user/public/mysite.com/public

   <Directory />
            Options FollowSymLinks
            AllowOverride All
    </Directory>



  # Log file locations
  LogLevel warn
  ErrorLog  /home/user/public/mysite.com/log/error.log
  CustomLog /home/user/public/mysite.com/log/access.log combined
</VirtualHost>


when using this command: sudo a2dissite
I'm getting:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "he_IL.UTF-8",
LC_ADDRESS = "he_IL.UTF-8",
LC_MONETARY = "he_IL.UTF-8",
LC_NUMERIC = "he_IL.UTF-8",
LC_TELEPHONE = "he_IL.UTF-8",
LC_IDENTIFICATION = "he_IL.UTF-8",
LC_MEASUREMENT = "he_IL.UTF-8",
LC_TIME = "he_IL.UTF-8",
LC_NAME = "he_IL.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


Thank you


Top
   
 Post subject: Re: htaccess not working
PostPosted: Sat Jul 06, 2013 5:44 am 
Offline
Newbie

Joined: Fri Jul 05, 2013 11:18 am
Posts: 4
Changed it to:

Code:
<VirtualHost *:80>
  # Admin email, Server Name (domain name), and any aliases
  ServerAdmin me@mysite.com
  ServerName  www.mysite.com
  ServerAlias mysite.com

   <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>


  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.html index.php
  DocumentRoot /home/user/public/mysite.com/public

   <Directory /home/user/public/mysite.com/public>
            AllowOverride All
    </Directory>



  # Log file locations
  LogLevel warn
  ErrorLog  /home/user/public/mysite.com/log/error.log
  CustomLog /home/user/public/mysite.com/log/access.log combined
</VirtualHost>




Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group