Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Request a Multiple Website add-on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-16
12:32 PM
2011-12-16
12:32 PM
Request a Multiple Website add-on
Multiple Website add-on will be something I would pay for, if I could....
Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-08
02:37 AM
2012-03-08
02:37 AM
Re: Request a Multiple Website add-on
If you have SSH connectivity, you can do it quite easily from the command line....
it only takes creating a separate virtual host file and you are ready to go...
If you are up to it, I can give you some examples.....
it only takes creating a separate virtual host file and you are ready to go...
If you are up to it, I can give you some examples.....
Message 2 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-08
02:52 AM
2012-03-08
02:52 AM
Re: Request a Multiple Website add-on
You may also find these improved apache-configs useful: http://gitorious.org/readynas/apache-configs
Message 3 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
12:06 AM
2012-03-09
12:06 AM
Re: Request a Multiple Website add-on
The improved apache conf unfortunately still suffers from the global alias problem, which makes it necessary to force virtual hosts to return 404 on any defined virtual host.
like virtual host : www.mywebsite.com/somedir/admin
will ask nas credientials and will login into the admin interface of the nas.... I currently override all global aliases with:
Redirect 404 /admin
works, but not nice and not future proof...
like virtual host : www.mywebsite.com/somedir/admin
will ask nas credientials and will login into the admin interface of the nas.... I currently override all global aliases with:
Redirect 404 /admin
works, but not nice and not future proof...
Message 4 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
02:15 AM
2012-03-09
02:15 AM
Re: Request a Multiple Website add-on
fdullemond wrote: The improved apache conf unfortunately still suffers from the global alias problem, which makes it necessary to force virtual hosts to return 404 on any defined virtual host.
like virtual host : http://www.mywebsite.com/somedir/admin
will ask nas credientials and will login into the admin interface of the nas....
Since the configs mdgm pointed to don't use any global alias definitions at all I wonder why you are running into this problem. The only possibility I can think of right now is that you include DefAlias.conf somewhere in your new virtual host. Any chance I can have a look at your configs?
-Stefan
Message 5 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
07:31 AM
2012-03-09
07:31 AM
Re: Request a Multiple Website add-on
Just to clarify, I am currently not using the new config files...
I just glanced over them and saw the global aliases in DefAlias.conf (line 88 for instance in x86)..... so I am just assuming as I am not an apache conf specialist, I am merely extending my experience with the standard readynas apache.
I could be wrong of course...
I, in fact, would be very happy to see the global aliases disappear...
I just glanced over them and saw the global aliases in DefAlias.conf (line 88 for instance in x86)..... so I am just assuming as I am not an apache conf specialist, I am merely extending my experience with the standard readynas apache.
I could be wrong of course...
I, in fact, would be very happy to see the global aliases disappear...
Message 6 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
07:35 AM
2012-03-09
07:35 AM
Re: Request a Multiple Website add-on
Stefan's reordered some things in the apache-configs. Just picking a bit of what he's done is likely to lead to trouble.
Downloading the master of the apache-configs onto the NAS and running the install.sh would be the way to install it.
Downloading the master of the apache-configs onto the NAS and running the install.sh would be the way to install it.
Message 7 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
10:02 AM
2012-03-09
10:02 AM
Re: Request a Multiple Website add-on
fdullemond wrote: Just to clarify, I am currently not using the new config files...
I just glanced over them and saw the global aliases in DefAlias.conf (line 88 for instance in x86).....
Yeah, thanks for having me chase a non-existent bug 😉
Of course there need to be Alias definitions for Frontview to work properly. But since they are included in a VirtualHost context they don't affect other VHosts. With the config layout I posted even the add-on are no longer global but locked into the default VHost. Now if you are going to include the DefAlias.conf within another VHost context you'll of course again have the same problems as usual. But I don't see why one should want to do that 😄
-Stefan
Message 8 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
10:23 AM
2012-03-09
10:23 AM
Re: Request a Multiple Website add-on
A good scare once in a while keeps the bloodstream free of obstructions... so actually I contributed to your health...
Well, this places me in a awkward position to try the new config and give first hand experience comments rather than 'think so' ones.
Before I completely ruin my apache config, how stable is this when a new firmware is installed ?
Well, this places me in a awkward position to try the new config and give first hand experience comments rather than 'think so' ones.
Before I completely ruin my apache config, how stable is this when a new firmware is installed ?
Message 9 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-09
11:33 AM
2012-03-09
11:33 AM
Re: Request a Multiple Website add-on
Since a new firmware always overwrites the Apache config files I'd say it's exactly as stable as your manually edited config 😉
That said I'm working on a method of detecting an overwritten config and restoring the changes but that's not finished yet. But since the project is on Gitorious and since Gitorious is free, feel free to improve my version and send me merge requests 😉
-Stefan
That said I'm working on a method of detecting an overwritten config and restoring the changes but that's not finished yet. But since the project is on Gitorious and since Gitorious is free, feel free to improve my version and send me merge requests 😉
-Stefan
Message 10 of 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-10
07:14 AM
2012-03-10
07:14 AM
Re: Request a Multiple Website add-on
ok, let me try the new config an I get back to you...
Concerning submitting merge requests, I fear my apache config skills are not better than copying and slightly adapting examples I find on the internet..
It took me literally weeks to get authentication against a readynas user... but using one of your examples of the kmotion addon I managed...
Concerning submitting merge requests, I fear my apache config skills are not better than copying and slightly adapting examples I find on the internet..
It took me literally weeks to get authentication against a readynas user... but using one of your examples of the kmotion addon I managed...
Message 11 of 11