I just installed Gitlist 0.2 in my server and there is this strange error that I cannot figure out how to fix it. The server is running Ubuntu Server 12.04 and Apache 2 + PHP 5.3.10. I extracted Gitlist at /var/www/gitlist, copied/modified the config.ini file, etc. The home page renders perfectly, listing all available repositories and with all css styles, etc. When I click on a repository (i.e. test.git), I get a 404 Not Found. The Apache's error log shows:
I guess the repositories are not supposed to be at /var/www/gitlist, instead they should be found at whatever path is configured in the "repositories" setting, is that correct? By the way, this is my config.ini file:
[git]
client = '/usr/bin/git' ; Your git executable path
repositories = '/home/git' ; Path to your repositories
; You can hide repositories from GitList, just copy this for each repository you want to hide
; hidden[] = '/var/www/projects/BetaTest'
[app]
baseurl = '/gitlist' ; Base URL of the application
; If you need to specify custom filetypes for certain extensions, do this here
[filetypes]
; extension = type
; dist = xml
Do you guys know what's up? I tried to look at the source code but I really suck at PHP.
On Thu, Aug 23, 2012 at 11:45 PM, Célio Cidral <ccid...@gmail.com> wrote:
> Hi,
> I just installed Gitlist 0.2 in my server and there is this strange error
> that I cannot figure out how to fix it. The server is running Ubuntu
> Server 12.04 and Apache 2 + PHP 5.3.10. I extracted Gitlist at
> /var/www/gitlist, copied/modified the config.ini file, etc. The home page
> renders perfectly, listing all available repositories and with all css
> styles, etc. When I click on a repository (i.e. test.git), I get a 404 Not
> Found. The Apache's error log shows:
> I guess the repositories are not supposed to be at /var/www/gitlist,
> instead they should be found at whatever path is configured in the
> "repositories" setting, is that correct? By the way, this is my config.ini
> file:
> [git]
> client = '/usr/bin/git' ; Your git executable path
> repositories = '/home/git' ; Path to your repositories
> ; You can hide repositories from GitList, just copy this for each
> repository you want to hide
> ; hidden[] = '/var/www/projects/BetaTest'
> [app]
> baseurl = '/gitlist' ; Base URL of the application
> ; If you need to specify custom filetypes for certain extensions, do this
> here
> [filetypes]
> ; extension = type
> ; dist = xml
> Do you guys know what's up? I tried to look at the source code but I
> really suck at PHP.
> Célio
> --
> You received this message because you are subscribed to the Google Groups
> "GitList" group.
> To post to this group, send email to gitlist@googlegroups.com.
> To unsubscribe from this group, send email to
> gitlist+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/gitlist/-/ss1XeA6coBEJ.
> For more options, visit https://groups.google.com/groups/opt_out.
> On Thu, Aug 23, 2012 at 11:45 PM, Célio Cidral <cci...@gmail.com<javascript:>
> > wrote:
>> Hi,
>> I just installed Gitlist 0.2 in my server and there is this strange error >> that I cannot figure out how to fix it. The server is running Ubuntu >> Server 12.04 and Apache 2 + PHP 5.3.10. I extracted Gitlist at >> /var/www/gitlist, copied/modified the config.ini file, etc. The home page >> renders perfectly, listing all available repositories and with all css >> styles, etc. When I click on a repository (i.e. test.git), I get a 404 Not >> Found. The Apache's error log shows:
>> I guess the repositories are not supposed to be at /var/www/gitlist, >> instead they should be found at whatever path is configured in the >> "repositories" setting, is that correct? By the way, this is my config.ini >> file:
>> [git]
>> client = '/usr/bin/git' ; Your git executable path
>> repositories = '/home/git' ; Path to your repositories
>> ; You can hide repositories from GitList, just copy this for each >> repository you want to hide
>> ; hidden[] = '/var/www/projects/BetaTest'
>> [app]
>> baseurl = '/gitlist' ; Base URL of the application
>> ; If you need to specify custom filetypes for certain extensions, do this >> here
>> [filetypes]
>> ; extension = type
>> ; dist = xml
>> Do you guys know what's up? I tried to look at the source code but I >> really suck at PHP.
>> Célio
>> -- >> You received this message because you are subscribed to the Google Groups >> "GitList" group.
>> To post to this group, send email to git...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to >> gitlist+u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit >> https://groups.google.com/d/msg/gitlist/-/ss1XeA6coBEJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
You're probably using the default virtual host configuration on Apache,
then. Please, use your favorite text editor to edit *
/etc/apache2/sites-enabled/000-default*. Then, inside the *<Directory
/var/www>* section, change the *AllowOverride* option to *All*. Restart
Apache.
This will allow your Apache setup to read the custom configuration rules
stored in .htaccess files inside that directory. Therefore, GitList will be
able to configure mod_rewrite and show nice URLs.
On Fri, Aug 24, 2012 at 10:31 AM, Célio Cidral <ccid...@gmail.com> wrote:
> Yes it is.
> May be it's worth mentioning, I installed everything via apt-get.
> Célio
> Em quinta-feira, 23 de agosto de 2012 23h54min03s UTC-3, Klaus Silveira
> escreveu:
>> Is mod_rewrite enabled on your Apache?
>> On Thu, Aug 23, 2012 at 11:45 PM, Célio Cidral <cci...@gmail.com> wrote:
>>> Hi,
>>> I just installed Gitlist 0.2 in my server and there is this strange
>>> error that I cannot figure out how to fix it. The server is running Ubuntu
>>> Server 12.04 and Apache 2 + PHP 5.3.10. I extracted Gitlist at
>>> /var/www/gitlist, copied/modified the config.ini file, etc. The home page
>>> renders perfectly, listing all available repositories and with all css
>>> styles, etc. When I click on a repository (i.e. test.git), I get a 404 Not
>>> Found. The Apache's error log shows:
>>> I guess the repositories are not supposed to be at /var/www/gitlist,
>>> instead they should be found at whatever path is configured in the
>>> "repositories" setting, is that correct? By the way, this is my config.ini
>>> file:
>>> [git]
>>> client = '/usr/bin/git' ; Your git executable path
>>> repositories = '/home/git' ; Path to your repositories
>>> ; You can hide repositories from GitList, just copy this for each
>>> repository you want to hide
>>> ; hidden[] = '/var/www/projects/BetaTest'
>>> [app]
>>> baseurl = '/gitlist' ; Base URL of the application
>>> ; If you need to specify custom filetypes for certain extensions, do
>>> this here
>>> [filetypes]
>>> ; extension = type
>>> ; dist = xml
>>> Do you guys know what's up? I tried to look at the source code but I
>>> really suck at PHP.
>>> Célio
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "GitList" group.
>>> To post to this group, send email to git...@googlegroups.com.
>>> To unsubscribe from this group, send email to gitlist+u...@**
>>> googlegroups.com.
I have the same problem. *AllowOverride* has already changed the option to *
All*. But it can not work properly as well. I was confused that why did gitlist search where gitlist root folder located but repositoies folder I set in gilist/config.ini .
> You're probably using the default virtual host configuration on Apache, > then. Please, use your favorite text editor to edit *
> /etc/apache2/sites-enabled/000-default*. Then, inside the *<Directory > /var/www>* section, change the *AllowOverride* option to *All*. Restart > Apache.
> This will allow your Apache setup to read the custom configuration rules > stored in .htaccess files inside that directory. Therefore, GitList will be > able to configure mod_rewrite and show nice URLs.
> On Fri, Aug 24, 2012 at 10:31 AM, Célio Cidral <cci...@gmail.com<javascript:>
> > wrote:
>> Yes it is.
>> May be it's worth mentioning, I installed everything via apt-get.
>> Célio
>> Em quinta-feira, 23 de agosto de 2012 23h54min03s UTC-3, Klaus Silveira >> escreveu:
>>> Is mod_rewrite enabled on your Apache?
>>> On Thu, Aug 23, 2012 at 11:45 PM, Célio Cidral <cci...@gmail.com> wrote:
>>>> Hi,
>>>> I just installed Gitlist 0.2 in my server and there is this strange >>>> error that I cannot figure out how to fix it. The server is running Ubuntu >>>> Server 12.04 and Apache 2 + PHP 5.3.10. I extracted Gitlist at >>>> /var/www/gitlist, copied/modified the config.ini file, etc. The home page >>>> renders perfectly, listing all available repositories and with all css >>>> styles, etc. When I click on a repository (i.e. test.git), I get a 404 Not >>>> Found. The Apache's error log shows:
>>>> I guess the repositories are not supposed to be at /var/www/gitlist, >>>> instead they should be found at whatever path is configured in the >>>> "repositories" setting, is that correct? By the way, this is my config.ini >>>> file:
>>>> [git]
>>>> client = '/usr/bin/git' ; Your git executable path
>>>> repositories = '/home/git' ; Path to your repositories
>>>> ; You can hide repositories from GitList, just copy this for each >>>> repository you want to hide
>>>> ; hidden[] = '/var/www/projects/BetaTest'
>>>> [app]
>>>> baseurl = '/gitlist' ; Base URL of the application
>>>> ; If you need to specify custom filetypes for certain extensions, do >>>> this here
>>>> [filetypes]
>>>> ; extension = type
>>>> ; dist = xml
>>>> Do you guys know what's up? I tried to look at the source code but I >>>> really suck at PHP.
>>>> Célio
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "GitList" group.
>>>> To post to this group, send email to git...@googlegroups.com.
>>>> To unsubscribe from this group, send email to gitlist+u...@**
>>>> googlegroups.com.