Comments (5)
On your other computer, you probably want only:
10.100.96.242 aegir.ahut.edu aegir
(not the 127.0.0.1 entry)
from documentation.
Thank you very much!@mlutfy I doubt whether I understand what you mean .
I have add the follow code 10.100.96.242 aegir.ahut.edu aegir
on my another computer.
but , I still can't browse aegir from another computer, I can browse aegir with aegir.ahut.edu or 10.100.96.242 from localhost computer(10.100.96.242 is physical IP)
I guess Is it what I should configure on the apache.conf file?
I only know a little about the configuration of apahce.
The follow code is my VirtualHost VirtualHost configuration
<VirtualHost *:80>
DocumentRoot /var/aegir/hostmaster-7.x-3.11.2
ServerName aegir.ahut.edu
# ServerName 10.100.96.242
SetEnv db_type mysql
SetEnv db_name aegirahutedu
SetEnv db_user aegirahutedu
SetEnv db_passwd xxxxx
SetEnv db_host localhost
SetEnv db_port 3306
ServerAlias 10.100.96.242
<IfModule mod_rewrite.c>
RewriteEngine on
# Redirect all aliases to the main http url.
RewriteCond %{HTTP_HOST} !^aegir.ahut.edu$ [NC]
RewriteRule ^/*(.*)$ http://aegir.ahut.edu/$1 [NE,L,R=301]
RewriteRule ^/files/(.*)$ /sites/aegir.ahut.edu/files/$1 [L]
RewriteCond /var/aegir/hostmaster-7.x-3.11.2/sites/aegir.ahut.edu/files/robots.txt -f
RewriteRule ^/robots.txt /sites/aegir.ahut.edu/files/robots.txt [L]
</IfModule>
# Extra configuration from modules:
# Error handler for Drupal > 4.6.7
<Directory ~ "sites/.*/files">
<Files *>
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Files>
Options None
Options +FollowSymLinks
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
</Directory>
# Prevent direct reading of files in the private dir.
# This is for Drupal7 compatibility, which would normally drop
# a .htaccess in those directories, but we explicitly ignore those
<Directory "/var/aegir/hostmaster-7.x-3.11.2/sites/aegir.ahut.edu/private/" >
<Files *>
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Files>
Deny from all
Options None
Options +FollowSymLinks
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
</Directory>
from documentation.
Seems OK to me. From the other computer, what does the browser display? (i.e. error message? default vhost? does it fail to connect?)
from documentation.
Thank you very much @mlutfy .On my other computer, set my hosts file with follow is a good solution to my question:
10.100.96.242 aegir.ahut.edu aegir
I didn't have any effect after setting up last night. It's already possible to try again today. Maybe I haven't made it up yet before I browse.
Thank you for your prompt answer. It saved me a lot of time.
from documentation.
sounds resolved...
from documentation.
Related Issues (13)
- Contriubted-modules Typo HOT 4
- Add sequence diagrams HOT 1
- Readthedocs search bar never yields any results HOT 6
- Fix instructions for upgrading Drupal core HOT 5
- Add hosting_s3 to contribs page?
- Add Aegir summity 2016 sessions to resources page. HOT 2
- Aegir CiviCRM integration HOT 11
- Installation instructions for CentOS 7.x HOT 2
- Navigation menu is broken/unusable HOT 4
- Document the use of subdirectory URLs HOT 2
- RTD build failure HOT 1
- Enable collapsible menu navigation (once it's ready)
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 documentation.