I have customized the "EditProfile.aspx" page and want to deploy it on the QA using a Feature, is it possible to deploy a page under the "_Layouts" folder using feature.
Tried with the below Feature
Feature.xml
<Feature Id="C8F0E2DA-846D-43c0-84B1-56463178E91A" Title="My Custom Pages" Description="My Custom Pages"
Scope="Web" Hidden="True" xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="Elements.xml" />
</ElementManifests>
</Feature>
Element.xml
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="Pages" Path="PageTemplates" url="_Layouts">
<File Url="EditProfile.aspx" Type="GhostableInLibrary" />
</Module>
</Elements>
It is throwing an access denied error message when try to activate the feature.
Is that it can be done only through the solution package?