Comments (8)
Did you try setting AllowOverride to all in order for mod_rewrite to work correctly?
from vagrant-catalog.
I did (and, by doing so, i found that it was originally disabled), but even
after enabling
a2enmod rewrite
and setting AllowOverride to all, i still couldn't get the link to work...
still same error...
Is there a list of requirements somewhere (e.g. any other apache modules I
need to have enabled, etc) ?
from vagrant-catalog.
Make sure you restart Apache after you set AllowOverride All.
My httpd.conf looks like this for my virtualhost, very similar to yours but I have "AllowOverride All"
The only other thing that comes to mind is that all the rewrite rules are in an .htaccess file, so if there is some server config that allows .htaccess files, make sure that is enabled.
<VirtualHost *:80>
ServerName vagrant.example.com
ServerAdmin [email protected]
DocumentRoot /var/www/vagrant.example.com/
ErrorLog "| /usr/sbin/rotatelogs /var/log/apache2/vagrant.example.com.error_log 300"
CustomLog "| /usr/sbin/rotatelogs /var/log/apache2/vagrant.example.com.combined_log 300" vhost_combined
<Directory /var/www/vagrant.example.com/>
AllowOverride All
</Directory>
</VirtualHost>
from vagrant-catalog.
Thanks Ross, will try to look into the .htaccess rewrites when I get some
time... Thanks anyway!
On 6 March 2015 at 12:48, Ross Perkins [email protected] wrote:
Make sure you restart Apache after you set AllowOverride All.
My httpd.conf looks like this for my virtualhost, very similar to yours
but I have "AllowOverride All"The only other thing that comes to mind is that all the rewrite rules are
in an .htaccess file, so if there is some server config that allows
.htaccess files, make sure that is enabled.ServerName vagrant.example.com
ServerAdmin [email protected]
DocumentRoot /var/www/vagrant.example.com/
ErrorLog "| /usr/sbin/rotatelogs
/var/log/apache2/vagrant.example.com.error_log 300"
CustomLog "| /usr/sbin/rotatelogs
/var/log/apache2vagrant.example.com.combined_log 300" vhost_combinedAllowOverride All
—
Reply to this email directly or view it on GitHub
#1 (comment).
from vagrant-catalog.
I'm going to create a new feature issue saying to make a full end-to-end example of this, and I'll include things like necessary Apache configs there, and close this issue.
from vagrant-catalog.
sure - that sounds great! 👍
On 10 March 2015 at 19:04, Ross Perkins [email protected] wrote:
I'm going to create a new feature issue saying to make a full end-to-end
example of this, and I'll include things like necessary Apache configs
there, and close this issue.—
Reply to this email directly or view it on GitHub
#1 (comment).
from vagrant-catalog.
@gsalis https://github.com/xclusv/vagrant-boxer-example
from vagrant-catalog.
great stuff! I'll check it out as soon as I find some time over the next week or so! Thanks!
from vagrant-catalog.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-catalog.