'The requested URL /_admin/ was not found'

I just finished installing mysourcematrix (latest version). Everything seemed to have gone well. But I can not get the admin url (which in my case is www.domain.net/_admin). During installation I opted for SymLink and accordingly the direcotry is created (within the core mysourcematrix folder). I checked the permission, which is 777.


I know for sure SymLink works on my VPS (I have a typo3 installation which also uses SymLink).



I tried with Apache Aliases option as well and duely restarted the server. In this case also I could not find the /_admin URL.



I will appreciate any help and insight into the problem. Follwing is the main.inc file just in case it helps to figure out the problem.



(Edited to remove main.inc and other identifying information).

I don't think its a Matrix problem. Could you check the Apache error_log and see what its logging? I suspect that you need FollowSymLinksIfOwnerMatch or FollowSymLink tags in httpd.conf or similar configuration options.


Matrix is designed for dedicated servers, and is less shared/virtual server friendly. Usually because those servers have far more restrictive Apache/PHP configurations.

Thanks Avi. Would you be kind enough to have look at my httpd.conf file and suggest the required changes to get the SymLink and Alliases working properly. I overcome the problem of installing Postgresql and it would be a shame if I can not get MySourceMatrix running for httpd.conf issue. Many thanks once again.

[quote]<VirtualHost *>

    ServerName xxxx.net

    ServerAlias www.xxxx.net

    DocumentRoot /var/www/html/matrix

</VirtualHost>[/quote]



(Trimmed the file and removed identifying elements)

You need to add the aliases into the VirtualHost block for the domain running Matrix, like so:

    
        ServerName xxxx.net
        ServerAlias www.xxxx.net
        DocumentRoot /var/www/html/matrix
    
        Alias "/__fudge" /path/to/matrix/fudge
        Alias "/__data"  /path/to/matrix/data/public
        Alias "/__lib"   /path/to/matrix/core/lib
        Alias "/"        /path/to/matrix/core/web/index.php/
    
    


If that doesn't work, you can add the following line:

[font="courier"]AcceptPathInfo On[/font] higher up in the httpd.conf file (ie. outside of any VirtualHost block).

Also, if you use aliases, you don't need any symlinks. Its an either/or situation. If this doesn't work at all, we can investigate symlinks instead and use the .htaccess file to mod_rewrite the requests.

Thanks again. Great! This time aliase worked after editing the htpd.conf file accordingly and I can get to the admin panel. But strangely, when I try to go to the front end of the site I get the follwoing message displayed by MySourceMatrix system

[quote]MySource Notice

Message:  URL "www.xxxx.net" not found[/quote]

Must be something I missed that I should do in the admin panel when log in as root for the first time. Hope you will give me the tip.

You basically need to tell Matrix which asset to display when you go to that URL. That's going to require a Site and a Page.


You'll need to add a SITE asset and apply www.xxxx.net as the URL for it (on the URLs screen). Then you need to create a STANDARD PAGE under the site and make that the home page of the site (do that on the DETAILS screen of the site).

Sorry for my premature previous query. I now managed to create a site by following the instruction here. I thought a default site would be created automatically following the installation but obviously not.

Matrix creates nothing without being specifically told to. :slight_smile: